Cargo Features

[dependencies]
polkadot-runtime-parachains = { version = "16.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, 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, 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, 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?