Cargo Features
[dependencies]
solana-secp256k1-schnorr = { version = "0.2.5", default-features = false, features = ["sign", "bip340", "keccak256", "sha256"] }
- default = bip340, keccak256, sha256, sign
-
These default features are set whenever
solana-secp256k1-schnorr
is added without
somewhere in the dependency tree.default-features = false - sign default
- bip340 default = solana-nostd-sha256
-
Affects
challenges::bip340
… - keccak256 default = solana-nostd-keccak
-
Affects
challenges::keccak256
… - sha256 default = solana-nostd-sha256
-
Affects
challenges::sha256
…
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.