mfast/1.2.2

mFAST is a high performance C++ encoding/decoding library for FAST (FIX Adapted for STreaming) protocol
Recipe info
2023-10-16

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
mfast/1.2.2

Using mfast

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
mfast/1.2.2
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("mfast/1.2.2")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): mFAST
  • CMake target name(s): mfast::mfast
  • libmfast => mfast_static
    mfast_json => mfast_json_static
    mfast_coder => mfast_coder_static
    mfast_xml_parser => mfast_xml_parser_static
    
  • pkg-config file name(s): mfast.pc
  • libmfast => mfast-libmfast.pc
    mfast_json => mfast-mfast_json.pc
    mfast_coder => mfast-mfast_coder.pc
    mfast_xml_parser => mfast-mfast_xml_parser.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(mFAST REQUIRED)
# ...
target_link_libraries(YOUR_TARGET mfast::mfast)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the mfast homepage listed above:

#include "mfast.h"
#include "mfast/aggregate_ref.h"
#include "mfast/allocator.h"
#include "mfast/arena_allocator.h"
#include "mfast/array_view.h"
#include "mfast/boolean_ref.h"
#include "mfast/coder/common/codec_helper.h"
#include "mfast/coder/common/debug_stream.h"
#include "mfast/coder/common/dictionary_builder.h"
#include "mfast/coder/common/exceptions.h"
#include "mfast/coder/common/template_repo.h"
#include "mfast/coder/decoder/check_overflow.h"
#include "mfast/coder/decoder/decoder_field_operator.h"
#include "mfast/coder/decoder/decoder_presence_map.h"
#include "mfast/coder/decoder/fast_istream.h"
#include "mfast/coder/decoder/fast_istream_extractor.h"
#include "mfast/coder/decoder/fast_istreambuf.h"
#include "mfast/coder/decoder_v2/fast_decoder_core.h"
#include "mfast/coder/decoder_v2/fast_istream_extractor.h"
#include "mfast/coder/encoder/encoder_field_operator.h"
#include "mfast/coder/encoder/encoder_presence_map.h"
#include "mfast/coder/encoder/fast_ostream.h"
#include "mfast/coder/encoder/fast_ostream_inserter.h"
#include "mfast/coder/encoder/fast_ostreambuf.h"
#include "mfast/coder/encoder/resizable_fast_ostreambuf.h"
#include "mfast/coder/encoder_v2/fast_encoder_core.h"
#include "mfast/coder/encoder_v2/fast_ostream_inserter.h"
#include "mfast/coder/fast_decoder.h"
#include "mfast/coder/fast_decoder_v2.h"
#include "mfast/coder/fast_encoder.h"
#include "mfast/coder/fast_encoder_v2.h"
#include "mfast/coder/mfast_coder_export.h"
#include "mfast/composite_type.h"
#include "mfast/decimal_ref.h"
#include "mfast/enum_ref.h"
#include "mfast/exceptions.h"
#include "mfast/ext_ref.h"
#include "mfast/field_comparator.h"
#include "mfast/field_instructions.h"
#include "mfast/field_mref.h"
#include "mfast/field_ref.h"
#include "mfast/field_visitor.h"
#include "mfast/group_ref.h"
#include "mfast/instructions/byte_vector_instruction.h"
#include "mfast/instructions/decimal_instruction.h"
#include "mfast/instructions/enum_instruction.h"
#include "mfast/instructions/field_instruction.h"
#include "mfast/instructions/group_instruction.h"
#include "mfast/instructions/int_instructions.h"
#include "mfast/instructions/int_vector_instructions.h"
#include "mfast/instructions/sequence_instruction.h"
#include "mfast/instructions/string_instructions.h"
#include "mfast/instructions/template_instruction.h"
#include "mfast/instructions/templateref_instruction.h"
#include "mfast/instructions/templates_description.h"
#include "mfast/instructions/vector_instruction_base.h"
#include "mfast/int_ref.h"
#include "mfast/json/json.h"
#include "mfast/json/mfast_json_export.h"
#include "mfast/malloc_allocator.h"
#include "mfast/message_ref.h"
#include "mfast/mfast_export.h"
#include "mfast/nested_message_ref.h"
#include "mfast/output.h"
#include "mfast/sequence_ref.h"
#include "mfast/sequence_type.h"
#include "mfast/sqlite3/aggregate_inserter.h"
#include "mfast/sqlite3/converter.h"
#include "mfast/sqlite3/converter_core.h"
#include "mfast/sqlite3/error.h"
#include "mfast/sqlite3/field_instruction_visitor_ex.h"
#include "mfast/sqlite3/field_masks.h"
#include "mfast/sqlite3/first_pass_visitor.h"
#include "mfast/sqlite3/mfast_sqlite3_export.h"
#include "mfast/sqlite3/second_pass_visitor.h"
#include "mfast/sqlite3/sequence_inserter.h"
#include "mfast/sqlite3/tables_creator.h"
#include "mfast/sqlite3/third_pass_visitor.h"
#include "mfast/sqlite3/value_binder.h"
#include "mfast/string_ref.h"
#include "mfast/type_category.h"
#include "mfast/value_storage.h"
#include "mfast/vector_ref.h"
#include "mfast/view_iterator.h"
#include "mfast/xml_parser/FastXMLVisitor.h"
#include "mfast/xml_parser/dynamic_templates_description.h"
#include "mfast/xml_parser/fast_xml_attributes.h"
#include "mfast/xml_parser/field_builder.h"
#include "mfast/xml_parser/field_builder_base.h"
#include "mfast/xml_parser/field_op.h"
#include "mfast/xml_parser/mfast_xml_parser_export.h"
#include "mfast/xml_parser/template_registry_impl.h"
#include "mfast/xml_parser/templates_builder.h"
#include "mfast/xml_parser/view_info_builder.h"
#include "mfast/xml_parser/xml_util.h"