Cargo Features

[dependencies]
bridge-hub-westend-runtime = { version = "0.7.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "on-chain-release-build"] }
default = std

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

std default = serde, substrate-wasm-builder

Enables std of westend-runtime-constants, staging-xcm, staging-xcm-builder, and staging-xcm-executor

westend-runtime-constants:

Polkadot

and std of cumulus-pallet-aura-ext, cumulus-pallet-parachain-system, cumulus-pallet-session-benchmarking, cumulus-pallet-xcm, cumulus-pallet-xcmp-queue, cumulus-primitives-aura, cumulus-primitives-core, cumulus-primitives-storage-weight-reclaim, and cumulus-primitives-utility

cumulus-pallet-aura-ext:

Cumulus

and std of bp-asset-hub-rococo, bp-asset-hub-westend, bp-bridge-hub-rococo, bp-bridge-hub-westend, bp-header-chain, bp-messages, bp-parachains, bp-polkadot-core, bp-relayers, bp-rococo, bp-runtime, bp-westend, bridge-hub-common, bridge-runtime-common, and parity-scale-codec

bp-asset-hub-rococo:

Bridges

and std of frame-benchmarking, frame-executive, frame-support, frame-system, frame-system-rpc-runtime-api, log, pallet-aura, pallet-authorship, pallet-balances, pallet-bridge-grandpa, pallet-bridge-messages, pallet-bridge-parachains, pallet-bridge-relayers, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-session, pallet-timestamp, pallet-transaction-payment, pallet-transaction-payment-rpc-runtime-api, pallet-utility, pallet-xcm, pallet-xcm-bridge-hub, staging-parachain-info, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, scale-info, sp-api, sp-block-builder, sp-consensus-aura, sp-core, sp-genesis-builder, sp-inherents, sp-io, sp-offchain, sp-runtime, sp-session, sp-std, sp-storage, sp-transaction-pool, sp-version, testnet-parachains-constants, optional frame-system-benchmarking, optional frame-try-runtime, and optional pallet-xcm-benchmarks

frame-benchmarking:

Substrate

Affects bridge-hub-westend-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext, cumulus-pallet-parachain-system, cumulus-pallet-xcm, cumulus-pallet-xcmp-queue, frame-executive, frame-support, frame-system, frame-try-runtime, pallet-aura, pallet-authorship, pallet-balances, pallet-bridge-grandpa, pallet-bridge-messages, pallet-bridge-parachains, pallet-bridge-relayers, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-session, pallet-timestamp, pallet-transaction-payment, pallet-utility, pallet-xcm, pallet-xcm-bridge-hub, staging-parachain-info, polkadot-runtime-common, and sp-runtime

runtime-benchmarks

Enables runtime-benchmarks of bridge-hub-common, bridge-runtime-common, cumulus-pallet-parachain-system, cumulus-pallet-session-benchmarking, cumulus-pallet-xcmp-queue, cumulus-primitives-core, cumulus-primitives-utility, frame-benchmarking, frame-support, frame-system, frame-system-benchmarking, pallet-balances, pallet-bridge-grandpa, pallet-bridge-messages, pallet-bridge-parachains, pallet-bridge-relayers, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-timestamp, pallet-utility, pallet-xcm, pallet-xcm-benchmarks, pallet-xcm-bridge-hub, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, sp-runtime, staging-xcm-builder, and staging-xcm-executor

on-chain-release-build

A feature that should be enabled when the runtime should be built for on-chain deployment. This will disable stuff that shouldn't be part of the on-chain wasm to make it smaller, like logging for example.

Enables disable-logging of sp-api

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? std
frame-system-benchmarking runtime-benchmarks?
frame-try-runtime try-runtime?
pallet-xcm-benchmarks runtime-benchmarks?
substrate-wasm-builder build std