Cargo Features

[dependencies]
polkadot-runtime-parachains = { version = "11.0.0", default-features = false, features = ["no_std", "std", "try-runtime", "runtime-metrics", "runtime-benchmarks"] }
default = std

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

no_std
std default = sp-keystore

Enables std of bitvec, optional frame-benchmarking, frame-support, frame-system, sp-inherents, log, pallet-authority-discovery, pallet-authorship, pallet-babe, pallet-balances, pallet-broker, pallet-message-queue, pallet-session, pallet-staking, pallet-timestamp, pallet-vesting, parity-scale-codec, polkadot-core-primitives, polkadot-parachain-primitives, polkadot-runtime-metrics, polkadot-primitives, rand, rand_chacha, rustc-hex, scale-info, serde, sp-api, optional sp-application-crypto, sp-arithmetic, sp-core, sp-io, sp-runtime, sp-session, sp-staking, sp-std, staging-xcm, and staging-xcm-executor

bitvec:

The standard library includes the allocator.

try-runtime

Enables try-runtime of frame-support, frame-system, pallet-authority-discovery, pallet-authorship, pallet-babe, pallet-balances, pallet-broker, pallet-message-queue, pallet-session, pallet-staking, pallet-timestamp, pallet-vesting, and sp-runtime

runtime-metrics

Enables runtime-metrics of polkadot-runtime-metrics, with-tracing of sp-tracing

runtime-benchmarks = sp-application-crypto, static_assertions

Enables runtime-benchmarks of frame-benchmarking, frame-support, frame-system, pallet-babe, pallet-balances, pallet-broker, pallet-message-queue, pallet-staking, pallet-timestamp, pallet-vesting, polkadot-parachain-primitives, polkadot-primitives, sp-runtime, sp-staking, and staging-xcm-executor

Affects slashing::benchmarking

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-keystore std
sp-application-crypto runtime-benchmarks?
sp-tracing runtime-metrics?
frame-benchmarking runtime-benchmarks?
static_assertions runtime-benchmarks?