Cargo Features

[dependencies]
pallet-election-provider-multi-phase = { version = "32.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "pallet-election-provider-support-benchmarking"] }
default = std

The std feature is set by default whenever pallet-election-provider-multi-phase is added without default-features = false somewhere in the dependency tree.

std default

Enables std of parity-scale-codec, optional frame-benchmarking, frame-election-provider-support, frame-support, frame-system, log, optional pallet-election-provider-support-benchmarking, rand, scale-info, sp-arithmetic, sp-core, sp-io, sp-npos-elections, sp-runtime, sp-std, and strum

frame-benchmarking:

Optional imports for benchmarking

try-runtime

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

runtime-benchmarks = rand, strum

Enables runtime-benchmarks of frame-benchmarking, frame-election-provider-support, frame-support, frame-system, optional pallet-election-provider-support-benchmarking, and sp-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.

frame-benchmarking runtime-benchmarks?
pallet-election-provider-support-benchmarking implicit feature

Enables pallet-election-provider-support-benchmarking

pallet-election-provider-support-benchmarking:

Benchmarking for election provider support onchain config trait (polkadot v1.11.0)

rand runtime-benchmarks? std
strum runtime-benchmarks? std