Cargo Features
[dependencies]
sp-consensus-beefy = { version = "22.1.0", default-features = false, features = ["std", "serde", "bls-experimental"] }
- default = std
-
The
std
feature is set by default wheneversp-consensus-beefy
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables lazy_static, std of parity-scale-codec and std of scale-info, serde, sp-api, sp-application-crypto, sp-core, sp-crypto-hashing, sp-io, sp-keystore, sp-mmr-primitives, sp-runtime, sp-weights, and strum
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.Affects
sp-consensus-beefy::test_utils
… - serde std
-
Serde support without relying on std features.
Enables serde, serde of scale-info, serde of sp-application-crypto, sp-core, and sp-runtime
- bls-experimental
-
This feature adds BLS crypto primitives. It should not be used in production since the BLS implementation and interface may still be subject to significant change.
Enables bls-experimental of sp-application-crypto and sp-core
Affects
sp-consensus-beefy::bls_crypto
,sp-consensus-beefy::ecdsa_bls_crypto
…