Cargo Features

[dependencies]
polkadot-runtime-parachains = { version = "17.0.1", 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, parity-scale-codec, optional frame-benchmarking, frame-support, frame-system, log, pallet-authority-discovery, pallet-authorship, pallet-babe, pallet-balances, pallet-broker, pallet-message-queue, optional pallet-mmr, pallet-session, pallet-staking, pallet-timestamp, pallet-vesting, polkadot-core-primitives, polkadot-parachain-primitives, polkadot-primitives, polkadot-runtime-metrics, rand, rand_chacha, scale-info, serde, sp-api, optional sp-application-crypto, sp-arithmetic, sp-core, sp-inherents, sp-io, optional sp-keystore, sp-runtime, sp-session, sp-staking, optional 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-mmr, 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, sp-std, static_assertions

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

Affects slashing::benchmarking, paras::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?
sp-std runtime-benchmarks?
pallet-mmr runtime-benchmarks? try-runtime?
frame-benchmarking runtime-benchmarks?
static_assertions runtime-benchmarks?