Cargo Features

[dependencies]
bridge-hub-polkadot-runtime = { version = "0.5.0", default-features = false, features = ["std", "try-runtime", "experimental", "runtime-benchmarks"] }
default = std

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

std default = serde, substrate-wasm-builder

Enables std of parity-scale-codec, cumulus-pallet-aura-ext ^0.5.0, cumulus-pallet-dmp-queue ^0.5.0, cumulus-pallet-parachain-system ^0.5.0, cumulus-pallet-session-benchmarking ^7.0.0, cumulus-pallet-xcm ^0.5.0, cumulus-pallet-xcmp-queue ^0.5.0, cumulus-primitives-core ^0.5.0, and cumulus-primitives-utility ^0.5.0

cumulus-pallet-aura-ext:

Cumulus

and std of frame-executive ^26.0.0, frame-support ^26.0.0, frame-system ^26.0.0, frame-system-rpc-runtime-api ^24.0.0, log, pallet-aura ^25.0.0, pallet-authorship ^26.0.0, pallet-balances ^26.0.0, pallet-collator-selection ^7.0.0, pallet-message-queue ^29.0.0, pallet-multisig ^26.0.0, pallet-session ^26.0.0, pallet-timestamp ^25.0.0, pallet-transaction-payment ^26.0.0, pallet-transaction-payment-rpc-runtime-api ^26.0.0, pallet-utility ^26.0.0, optional frame-benchmarking ^26.0.0, optional frame-system-benchmarking ^26.0.0, and optional frame-try-runtime ^0.32.0

frame-benchmarking:

Substrate

and std of pallet-xcm ^5.0.0, staging-parachain-info ^0.5.0, parachains-common ^5.0.0, polkadot-core-primitives ^5.0.0, polkadot-parachain-primitives ^4.0.0, polkadot-runtime-common ^5.0.0, scale-info, sp-api ^24.0.0, sp-block-builder ^24.0.0, sp-consensus-aura ^0.30.0, sp-core ^26.0.0, sp-genesis-builder ^0.5.0, sp-inherents ^24.0.0, sp-io ^28.0.0, sp-offchain ^24.0.0, sp-runtime ^29.0.0, sp-session ^25.0.0, sp-std ^12.0.0, sp-storage ^17.0.0, sp-transaction-pool ^24.0.0, sp-version ^27.0.0, staging-xcm ^5.0.0, staging-xcm-builder ^5.0.0, staging-xcm-executor ^5.0.0, and optional pallet-xcm-benchmarks ^5.0.0

pallet-xcm:

Polkadot

Affects bridge-hub-polkadot-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext ^0.5.0, cumulus-pallet-dmp-queue ^0.5.0, cumulus-pallet-parachain-system ^0.5.0, cumulus-pallet-xcm ^0.5.0, cumulus-pallet-xcmp-queue ^0.5.0, frame-executive ^26.0.0, frame-support ^26.0.0, frame-system ^26.0.0, frame-try-runtime ^0.32.0, pallet-aura ^25.0.0, pallet-authorship ^26.0.0, pallet-balances ^26.0.0, pallet-collator-selection ^7.0.0, pallet-message-queue ^29.0.0, pallet-multisig ^26.0.0, pallet-session ^26.0.0, pallet-timestamp ^25.0.0, pallet-transaction-payment ^26.0.0, pallet-utility ^26.0.0, pallet-xcm ^5.0.0, staging-parachain-info ^0.5.0, polkadot-runtime-common ^5.0.0, and sp-runtime ^29.0.0

experimental

Enables experimental of pallet-aura ^25.0.0

runtime-benchmarks

Enables runtime-benchmarks of cumulus-pallet-dmp-queue ^0.5.0, cumulus-pallet-parachain-system ^0.5.0, cumulus-pallet-session-benchmarking ^7.0.0, cumulus-pallet-xcmp-queue ^0.5.0, cumulus-primitives-core ^0.5.0, cumulus-primitives-utility ^0.5.0, frame-benchmarking ^26.0.0, frame-support ^26.0.0, frame-system ^26.0.0, frame-system-benchmarking ^26.0.0, pallet-balances ^26.0.0, pallet-collator-selection ^7.0.0, pallet-message-queue ^29.0.0, pallet-multisig ^26.0.0, pallet-timestamp ^25.0.0, pallet-utility ^26.0.0, pallet-xcm ^5.0.0, pallet-xcm-benchmarks ^5.0.0, parachains-common ^5.0.0, polkadot-parachain-primitives ^4.0.0, polkadot-runtime-common ^5.0.0, sp-runtime ^29.0.0, staging-xcm-builder ^5.0.0, and staging-xcm-executor ^5.0.0

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?

Enables frame-benchmarking ^26.0.0

frame-system-benchmarking runtime-benchmarks?

Enables frame-system-benchmarking ^26.0.0

frame-try-runtime try-runtime?

Enables frame-try-runtime ^0.32.0

pallet-xcm-benchmarks runtime-benchmarks?

Enables pallet-xcm-benchmarks ^5.0.0

substrate-wasm-builder build std

Enables substrate-wasm-builder ^15.0.0