opendht-sys

Crates.ioopendht-sys
lib.rsopendht-sys
version1.0.1
created_at2025-02-26 17:42:39.632278+00
updated_at2025-02-26 17:49:12.016318+00
descriptionLow-level bindings to the OpenDHT C library
homepage
repositoryhttps://github.com/SentryPeer/opendht-sys.git
max_upload_size
id1570713
size1,135,867
Gavin Henry (ghenry)

documentation

README

Low-level bindings to the OpenDHT C library

Stability: Active GitHub release (latest SemVer) CI Crates.io Docs.rs

Building opendht-sys

Steps we take

  1. pkg-config is used to find the opendht-c library on the current system.
  2. cmake is tried next with the opendht source in ./vendor/opendht.

Build Requirements

If we build via cmake, we need the following installed first (Debian or Ubuntu):

  • fmt-dev
  • pkg-config
  • libgnutls28-dev - yes, on crates.io
  • libmsgpack-dev - no
  • libargon2-dev - yes, on crates.io
  • libasio-dev - no
  • libfmt-dev - no, needed?
  • nettle-dev - yes, on crates.io
  • ninja-build

-sys crates

TODO: All of the above will be -sys crates and set as dependencies in our Cargo.toml file.

Commit count: 0

cargo fmt