Cargo Features
[dependencies]
secret-toolkit-crypto = { version = "0.10.2", default-features = false, features = ["hash", "ecc-secp256k1", "rand", "hkdf"] }
- default = ecc-secp256k1, hash, rand
-
These default features are set whenever
secret-toolkit-crypto
is added without
somewhere in the dependency tree.default-features = false - hash default rand = sha2
- ecc-secp256k1 default = secp256k1
-
Affects
secret-toolkit-crypto::secp256k1
… - rand default = hash, rand_chacha, rand_core
- hkdf = sha2
-
Affects
secret-toolkit-crypto::hkdf
…
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.