Implementation of Libp2p specification in C.
To build the project, you will need to have CMake installed. Follow these steps:
-
Clone the repository:
git clone https://github.com/Pier-Two/libp2p-c.git cd libp2p-c
-
Create a build directory and navigate into it:
mkdir build && cd build
-
Run CMake to configure the project:
cmake ..
-
Build the project:
cmake --build .
-
Run the tests:
ctest
src/
: Contains the source code for the library.include/
: Contains the public headers for the library.tests/
: Contains the test code for the library.benchmarks/
: Contains the benchmark code for the library.CMakeLists.txt
: The CMake build script for the project.
MIT License - see LICENSE-MIT.md.
This project includes or makes use of the following third-party libraries:
-
libtomcrypt (included as a git submodule):
- Licensed under the LibTom License (Public Domain/Unlicense).
-
- Licensed under the MIT License.
-
sha3:
- Licensed under the MIT-0 License.
-
- Licensed under the Unlicense (Public Domain).