libyang-cpp implements object-oriented bindings of the libyang library in modern C++.
Object lifetimes are managed automatically via RAII.
- libyang
- for the minimal required version, check the
CMakeLists.txt - during development, our
masterbranch is CI-checked against thedevelbranch of libyang
- for the minimal required version, check the
- C++23 compiler (e.g., GCC 13.x+, clang 16+)
- CMake 3.22+
- optionally for built-in tests, Doctest as a C++ unit test framework
- optionally for the docs, Doxygen
libyang-cpp uses CMake for building. One way of building libyang-cpp looks like this:
mkdir build
cd build
cmake ..
make
make install
Check the test suite in tests/ for usage examples.
The development is being done on Gerrit here. Instructions on how to submit patches can be found here. GitHub Pull Requests are not used.