Cargo Features
[dependencies]
ex3-crypto = { version = "0.15.21", default-features = false, features = ["secp256k1", "canister", "address", "hash", "verify"] }
- default = hash, secp256k1, verify
-
These default features are set whenever
ex3-crypto
is added without
somewhere in the dependency tree.default-features = false - secp256k1 default address? verify = k256
-
Affects
ex3-crypto::secp256k1
… - canister = getrandom
-
Affects
ex3-crypto::always_fail
… - address = hash, ripemd, secp256k1
- hash default address? verify = hex, sha2, sha3
- verify default = hash, secp256k1
-
Affects
ex3-crypto::verify
…
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.