Cargo Features

[dependencies]
pezsp-consensus-grandpa = { version = "13.0.0", default-features = false, features = ["std", "serde", "runtime-benchmarks"] }
default = std

The std feature is set by default whenever pezsp-consensus-grandpa is added without default-features = false somewhere in the dependency tree.

std default

Enables std of parity-scale-codec, finality-grandpa, log, pezsp-api, pezsp-application-crypto, pezsp-core, pezsp-keystore, pezsp-runtime, scale-info, and serde

serde:

Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library.

Affects pezsp-consensus-grandpa::sign_message

serde std

Serde support without relying on std features.

Enables serde, serde of pezsp-application-crypto, pezsp-core, pezsp-runtime, and scale-info

runtime-benchmarks

Enables runtime-benchmarks of pezsp-api and pezsp-runtime

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.

pezsp-keystore std