libnop/cci.20200728

libnop is a header-only library for serializing and deserializing C++ data types without external code generators or runtime support libraries.
Recipe info
2023-03-11

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
libnop/cci.20200728

Using libnop

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]
libnop/cci.20200728
[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("libnop/cci.20200728")

    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): libnop
  • CMake target name(s): libnop::libnop
  • pkg-config file name(s): libnop.pc

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

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

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

#include "nop/base/array.h"
#include "nop/base/encoding.h"
#include "nop/base/encoding_byte.h"
#include "nop/base/enum.h"
#include "nop/base/handle.h"
#include "nop/base/logical_buffer.h"
#include "nop/base/macros.h"
#include "nop/base/map.h"
#include "nop/base/members.h"
#include "nop/base/optional.h"
#include "nop/base/pair.h"
#include "nop/base/reference_wrapper.h"
#include "nop/base/result.h"
#include "nop/base/serializer.h"
#include "nop/base/string.h"
#include "nop/base/table.h"
#include "nop/base/tuple.h"
#include "nop/base/utility.h"
#include "nop/base/value.h"
#include "nop/base/variant.h"
#include "nop/base/vector.h"
#include "nop/protocol.h"
#include "nop/rpc/interface.h"
#include "nop/rpc/simple_method_receiver.h"
#include "nop/rpc/simple_method_sender.h"
#include "nop/serializer.h"
#include "nop/status.h"
#include "nop/structure.h"
#include "nop/table.h"
#include "nop/traits/function_traits.h"
#include "nop/traits/is_comparable.h"
#include "nop/traits/is_detected.h"
#include "nop/traits/is_fungible.h"
#include "nop/traits/is_template_base_of.h"
#include "nop/traits/void.h"
#include "nop/types/detail/logical_buffer.h"
#include "nop/types/detail/member_pointer.h"
#include "nop/types/detail/variant.h"
#include "nop/types/enum_flags.h"
#include "nop/types/file_handle.h"
#include "nop/types/handle.h"
#include "nop/types/optional.h"
#include "nop/types/result.h"
#include "nop/types/thread_local.h"
#include "nop/types/variant.h"
#include "nop/utility/backtrace.h"
#include "nop/utility/bounded_reader.h"
#include "nop/utility/bounded_writer.h"
#include "nop/utility/buffer_reader.h"
#include "nop/utility/buffer_writer.h"
#include "nop/utility/compiler.h"
#include "nop/utility/constexpr_buffer_writer.h"
#include "nop/utility/die.h"
#include "nop/utility/endian.h"
#include "nop/utility/fd_reader.h"
#include "nop/utility/fd_writer.h"
#include "nop/utility/pedantic_buffer_reader.h"
#include "nop/utility/pedantic_buffer_writer.h"
#include "nop/utility/sip_hash.h"
#include "nop/utility/stream_reader.h"
#include "nop/utility/stream_writer.h"
#include "nop/value.h"