Cargo Features
[dependencies]
librqbit-bencode = { version = "3.0.2", default-features = false, features = ["sha1-crypto-hash", "sha1-ring"] }
- default = sha1-crypto-hash
-
The
sha1-crypto-hash
feature is set by default wheneverlibrqbit-bencode
is added without
somewhere in the dependency tree.default-features = false - sha1-crypto-hash default
-
Enables sha1-crypto-hash of librqbit-sha1-wrapper
- sha1-ring
-
Enables sha1-ring of librqbit-sha1-wrapper
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.