Cargo Features

[dependencies]
pallet-treasury = { version = "32.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks"] }
default = std

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

std default = serde

Enables std of parity-scale-codec, optional frame-benchmarking, frame-support, frame-system, pallet-balances, scale-info, optional sp-core, sp-runtime, and sp-std

try-runtime

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

runtime-benchmarks

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

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.

serde std
frame-benchmarking runtime-benchmarks?