cereal/1.3.2

Serialization header-only library for C++11.
Recipe info
2022-08-24

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
cereal/1.3.2

Using cereal

Note

If you are new with Conan, we recommend to read the section how to consume packages.

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]
cereal/1.3.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("cereal/1.3.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): cereal
  • CMake target name(s): cereal::cereal
  • pkg-config file name(s): cereal.pc

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

# ...
find_package(cereal REQUIRED)
# ...
target_link_libraries(YOUR_TARGET cereal::cereal)

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

#include "cereal/access.hpp"
#include "cereal/archives/adapters.hpp"
#include "cereal/archives/binary.hpp"
#include "cereal/archives/json.hpp"
#include "cereal/archives/portable_binary.hpp"
#include "cereal/archives/xml.hpp"
#include "cereal/cereal.hpp"
#include "cereal/details/helpers.hpp"
#include "cereal/details/polymorphic_impl.hpp"
#include "cereal/details/polymorphic_impl_fwd.hpp"
#include "cereal/details/static_object.hpp"
#include "cereal/details/traits.hpp"
#include "cereal/details/util.hpp"
#include "cereal/external/LICENSE"
#include "cereal/external/base64.hpp"
#include "cereal/external/rapidjson/LICENSE"
#include "cereal/external/rapidjson/allocators.h"
#include "cereal/external/rapidjson/cursorstreamwrapper.h"
#include "cereal/external/rapidjson/document.h"
#include "cereal/external/rapidjson/encodedstream.h"
#include "cereal/external/rapidjson/encodings.h"
#include "cereal/external/rapidjson/error/en.h"
#include "cereal/external/rapidjson/error/error.h"
#include "cereal/external/rapidjson/filereadstream.h"
#include "cereal/external/rapidjson/filewritestream.h"
#include "cereal/external/rapidjson/fwd.h"
#include "cereal/external/rapidjson/internal/biginteger.h"
#include "cereal/external/rapidjson/internal/diyfp.h"
#include "cereal/external/rapidjson/internal/dtoa.h"
#include "cereal/external/rapidjson/internal/ieee754.h"
#include "cereal/external/rapidjson/internal/itoa.h"
#include "cereal/external/rapidjson/internal/meta.h"
#include "cereal/external/rapidjson/internal/pow10.h"
#include "cereal/external/rapidjson/internal/regex.h"
#include "cereal/external/rapidjson/internal/stack.h"
#include "cereal/external/rapidjson/internal/strfunc.h"
#include "cereal/external/rapidjson/internal/strtod.h"
#include "cereal/external/rapidjson/internal/swap.h"
#include "cereal/external/rapidjson/istreamwrapper.h"
#include "cereal/external/rapidjson/memorybuffer.h"
#include "cereal/external/rapidjson/memorystream.h"
#include "cereal/external/rapidjson/msinttypes/LICENSE"
#include "cereal/external/rapidjson/msinttypes/inttypes.h"
#include "cereal/external/rapidjson/msinttypes/stdint.h"
#include "cereal/external/rapidjson/ostreamwrapper.h"
#include "cereal/external/rapidjson/pointer.h"
#include "cereal/external/rapidjson/prettywriter.h"
#include "cereal/external/rapidjson/rapidjson.h"
#include "cereal/external/rapidjson/reader.h"
#include "cereal/external/rapidjson/schema.h"
#include "cereal/external/rapidjson/stream.h"
#include "cereal/external/rapidjson/stringbuffer.h"
#include "cereal/external/rapidjson/writer.h"
#include "cereal/external/rapidxml/license.txt"
#include "cereal/external/rapidxml/manual.html"
#include "cereal/external/rapidxml/rapidxml.hpp"
#include "cereal/external/rapidxml/rapidxml_iterators.hpp"
#include "cereal/external/rapidxml/rapidxml_print.hpp"
#include "cereal/external/rapidxml/rapidxml_utils.hpp"
#include "cereal/macros.hpp"
#include "cereal/specialize.hpp"
#include "cereal/types/array.hpp"
#include "cereal/types/atomic.hpp"
#include "cereal/types/base_class.hpp"
#include "cereal/types/bitset.hpp"
#include "cereal/types/boost_variant.hpp"
#include "cereal/types/chrono.hpp"
#include "cereal/types/common.hpp"
#include "cereal/types/complex.hpp"
#include "cereal/types/concepts/pair_associative_container.hpp"
#include "cereal/types/deque.hpp"
#include "cereal/types/forward_list.hpp"
#include "cereal/types/functional.hpp"
#include "cereal/types/list.hpp"
#include "cereal/types/map.hpp"
#include "cereal/types/memory.hpp"
#include "cereal/types/optional.hpp"
#include "cereal/types/polymorphic.hpp"
#include "cereal/types/queue.hpp"
#include "cereal/types/set.hpp"
#include "cereal/types/stack.hpp"
#include "cereal/types/string.hpp"
#include "cereal/types/tuple.hpp"
#include "cereal/types/unordered_map.hpp"
#include "cereal/types/unordered_set.hpp"
#include "cereal/types/utility.hpp"
#include "cereal/types/valarray.hpp"
#include "cereal/types/variant.hpp"
#include "cereal/types/vector.hpp"
#include "cereal/version.hpp"