Cargo Features
[dependencies]
librqbit-sha1-wrapper = { version = "4.0.0", default-features = false, features = ["sha1-crypto-hash", "sha1-ring"] }
- default = sha1-crypto-hash
-
The
sha1-crypto-hash
feature is set by default wheneverlibrqbit-sha1-wrapper
is added without
somewhere in the dependency tree.default-features = false - sha1-crypto-hash default = crypto-hash
-
Affects
librqbit-sha1-wrapper::Sha1
… - sha1-ring = ring
-
Affects
librqbit-sha1-wrapper::Sha1
…
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.