kangaru/4.3.1

A dependency injection container for C++11, C++14 and later
Recipe info
2023-10-03

Available packages
Header Only

Install
Add the following line to your conanfile.txt:
[requires]
kangaru/4.3.1

Using kangaru

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]
kangaru/4.3.1
[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("kangaru/4.3.1")

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

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

# ...
find_package(kangaru REQUIRED)
# ...
target_link_libraries(YOUR_TARGET kangaru)

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

#include "kangaru/autocall.hpp"
#include "kangaru/autowire.hpp"
#include "kangaru/compatibility.hpp"
#include "kangaru/container.hpp"
#include "kangaru/debug.hpp"
#include "kangaru/detail/autocall_traits.hpp"
#include "kangaru/detail/autowire_traits.hpp"
#include "kangaru/detail/config.hpp"
#include "kangaru/detail/construct_function.hpp"
#include "kangaru/detail/container_service.hpp"
#include "kangaru/detail/default_source.hpp"
#include "kangaru/detail/define.hpp"
#include "kangaru/detail/detection.hpp"
#include "kangaru/detail/error.hpp"
#include "kangaru/detail/exception.hpp"
#include "kangaru/detail/function_traits.hpp"
#include "kangaru/detail/hash.hpp"
#include "kangaru/detail/injected.hpp"
#include "kangaru/detail/invoke_function.hpp"
#include "kangaru/detail/lazy_base.hpp"
#include "kangaru/detail/meta_list.hpp"
#include "kangaru/detail/nostd_invoke.hpp"
#include "kangaru/detail/operator_service_helper.hpp"
#include "kangaru/detail/override_range_service.hpp"
#include "kangaru/detail/override_storage_service.hpp"
#include "kangaru/detail/override_traits.hpp"
#include "kangaru/detail/seq.hpp"
#include "kangaru/detail/service_check.hpp"
#include "kangaru/detail/service_map.hpp"
#include "kangaru/detail/service_range.hpp"
#include "kangaru/detail/service_storage.hpp"
#include "kangaru/detail/single.hpp"
#include "kangaru/detail/string_view.hpp"
#include "kangaru/detail/traits.hpp"
#include "kangaru/detail/undef.hpp"
#include "kangaru/detail/utils.hpp"
#include "kangaru/detail/validity_check.hpp"
#include "kangaru/detail/void_t.hpp"
#include "kangaru/experimental/autowiring.hpp"
#include "kangaru/generic.hpp"
#include "kangaru/kangaru.hpp"
#include "kangaru/operator.hpp"
#include "kangaru/operator_service.hpp"
#include "kangaru/optional.hpp"
#include "kangaru/predicate.hpp"
#include "kangaru/service.hpp"
#include "kangaru/type_id.hpp"