pkg-config
is used to find theopendht-c
library on the current system.cmake
is tried next with the opendht source in./vendor/opendht
.
If we build via cmake
, we need the following installed first (Debian or Ubuntu):
fmt-dev
pkg-config
libgnutls28-dev
- yes, on crates.iolibmsgpack-dev
- nolibargon2-dev
- yes, on crates.iolibasio-dev
- nolibfmt-dev
- no, needed?nettle-dev
- yes, on crates.ioninja-build
TODO: All of the above will be -sys
crates and set as dependencies in our Cargo.toml
file.