Cargo Features

[dependencies]
pallet-election-provider-multi-phase = { version = "37.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, and strum

rand:

Option (enabled by default): without "std" rand uses libcore; this option enables functionality expected to be available on a standard platform.

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

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