Cargo Features
[dependencies]
librqbit-dht = { version = "5.2.0", default-features = false, features = ["sha1-crypto-hash", "sha1-ring"] }
- default = sha1-crypto-hash
-
The
sha1-crypto-hash
feature is set by default wheneverlibrqbit-dht
is added without
somewhere in the dependency tree.default-features = false - sha1-crypto-hash default
-
Enables sha1-crypto-hash of librqbit-bencode and librqbit-core
- sha1-ring
-
Enables sha1-ring of librqbit-bencode and librqbit-core
librqbit-dht has 3 features without comments.