Cargo Features

[dependencies]
pallet-bridge-grandpa = { version = "0.18.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default

Enables std of bp-header-chain, bp-runtime, bp-test-utils, parity-scale-codec, frame-benchmarking, frame-support, frame-system, log, scale-info, sp-consensus-grandpa, sp-runtime, and sp-std

try-runtime

Enables try-runtime of frame-support, frame-system, and sp-runtime

runtime-benchmarks = bp-test-utils

Enables runtime-benchmarks of frame-benchmarking, frame-support, frame-system, and sp-runtime

Affects pallet-bridge-grandpa::benchmarking, pallet-bridge-grandpa::initialize_for_benchmarks

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.

bp-test-utils runtime-benchmarks? std
frame-benchmarking runtime-benchmarks? std