Cargo Features

[dependencies]
pallet-session = { version = "34.0.0", default-features = false, features = ["std", "historical", "try-runtime"] }
default = historical, std

These default features are set whenever pallet-session is added without default-features = false somewhere in the dependency tree.

std default

Enables std of parity-scale-codec, frame-support, frame-system, log, pallet-timestamp, scale-info, sp-core, sp-io, sp-runtime, sp-session, sp-staking, sp-state-machine, sp-std, and sp-trie

historical default = sp-trie

Affects pallet-session::historical, migrations::v1

try-runtime

Enables try-runtime of frame-support, frame-system, pallet-timestamp, 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.

sp-trie historical std