Cargo Features
[dependencies]
sp-application-crypto = { version = "38.0.0", default-features = false, features = ["std", "serde", "full_crypto", "bls-experimental"] }
- default = std
-
The
std
feature is set by default wheneversp-application-crypto
is added without
somewhere in the dependency tree.default-features = false - std default = full_crypto
-
Enables std of parity-scale-codec, scale-info, serde, sp-core, and sp-io
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - serde std
-
Serde support without relying on std features.
Enables serde, serde of scale-info, serde of sp-core
- full_crypto std
-
This feature enables all crypto primitives for
no_std
builds like microcontrollers or Intel SGX. For the regular wasm runtime builds this should not be used.Enables full_crypto of sp-core, disable_oom and disable_panic_handler of sp-io
- bls-experimental
-
This feature adds BLS crypto primitives.
It should not be used in production since the implementation and interface may still be subject to significant changes.Enables bls-experimental of sp-core and sp-io
Affects
sp-application-crypto::bls377
,sp-application-crypto::bls381
,sp-application-crypto::ecdsa_bls377
…