Cargo Features

[dependencies]
cumulus-pallet-xcmp-queue = { version = "0.12.0", default-features = false, features = ["std", "try-runtime", "bridging", "runtime-benchmarks"] }
default = std

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

std default

Enables std of cumulus-primitives-core

Cumulus

and std of frame-support, frame-system, log, and pallet-message-queue

frame-support:

Substrate

and std of polkadot-runtime-common, polkadot-runtime-parachains, scale-info, sp-core, sp-io, sp-runtime, sp-std, staging-xcm, and staging-xcm-executor

polkadot-runtime-common:

Polkadot

and std of optional frame-benchmarking

Optional import for benchmarking

and std of bounded-collections, parity-scale-codec, and optional bp-xcm-bridge-hub-router

bp-xcm-bridge-hub-router:

Bridges

try-runtime

Enables try-runtime of frame-support, frame-system, pallet-message-queue, polkadot-runtime-common, polkadot-runtime-parachains, and sp-runtime

bridging = bp-xcm-bridge-hub-router

Affects cumulus-pallet-xcmp-queue::bridging

runtime-benchmarks

Enables runtime-benchmarks of cumulus-primitives-core, frame-benchmarking, frame-support, frame-system, pallet-message-queue, polkadot-runtime-common, polkadot-runtime-parachains, sp-runtime, and staging-xcm-executor

Affects bridging::suspend_channel_for_benchmarks

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.

frame-benchmarking runtime-benchmarks?
bp-xcm-bridge-hub-router bridging?