Cargo Features

[dependencies]
asset-hub-westend-runtime = { version = "0.26.4", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "metadata-hash", "on-chain-release-build"] }
default = std

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

std default = substrate-wasm-builder

Enables std of assets-common ^0.18.3, bp-asset-hub-rococo ^0.14.2, bp-asset-hub-westend ^0.13.2, bp-bridge-hub-rococo ^0.18.0, bp-bridge-hub-westend ^0.14.0, parity-scale-codec, cumulus-pallet-aura-ext ^0.17.0, cumulus-pallet-parachain-system ^0.17.1, cumulus-pallet-session-benchmarking ^19.0.0, cumulus-pallet-xcm ^0.17.0, cumulus-pallet-xcmp-queue ^0.17.0, cumulus-primitives-aura ^0.15.0, cumulus-primitives-core ^0.16.0, cumulus-primitives-storage-weight-reclaim ^8.0.0, cumulus-primitives-utility ^0.17.0, optional frame-benchmarking ^38.0.0, frame-executive ^38.0.0, frame-metadata-hash-extension ^0.6.0, frame-support ^38.2.0, frame-system ^38.0.0, optional frame-system-benchmarking ^38.0.0, frame-system-rpc-runtime-api ^34.0.0, optional frame-try-runtime ^0.44.0, log, pallet-asset-conversion ^20.0.0, pallet-asset-conversion-ops ^0.6.0, pallet-asset-conversion-tx-payment ^20.0.0, pallet-assets ^40.0.0, pallet-assets-freezer ^0.5.0, pallet-aura ^37.0.0, pallet-authorship ^38.0.0, pallet-balances ^39.0.0, pallet-collator-selection ^19.0.0, pallet-message-queue ^41.0.2, pallet-multisig ^38.0.0, pallet-nft-fractionalization ^21.0.0, pallet-nfts ^32.0.0, pallet-nfts-runtime-api ^24.0.0, pallet-proxy ^38.0.0, pallet-session ^38.0.0, pallet-state-trie-migration ^40.0.0, pallet-timestamp ^37.0.0, pallet-transaction-payment ^38.0.2, pallet-transaction-payment-rpc-runtime-api ^38.0.0, pallet-uniques ^38.0.0, pallet-utility ^38.0.0, pallet-xcm ^17.0.1, optional pallet-xcm-benchmarks ^17.0.0, pallet-xcm-bridge-hub-router ^0.15.3, staging-parachain-info ^0.17.0, parachains-common ^18.0.0, polkadot-parachain-primitives ^14.0.0, polkadot-runtime-common ^17.0.0, primitive-types ^0.12.1, scale-info, serde_json, snowbridge-router-primitives ^0.16.0, sp-api ^34.0.0, sp-block-builder ^34.0.0, sp-consensus-aura ^0.40.0, sp-core ^34.0.0, sp-genesis-builder ^0.15.1, sp-inherents ^34.0.0, sp-offchain ^34.0.0, sp-runtime ^39.0.5, sp-session ^36.0.0, sp-std, sp-storage ^21.0.0, sp-transaction-pool ^34.0.0, sp-version ^37.0.0, testnet-parachains-constants ^10.0.0, westend-runtime-constants ^17.0.0, staging-xcm ^14.2.0, staging-xcm-builder ^17.0.3, staging-xcm-executor ^17.0.0, and xcm-runtime-apis ^0.4.2

primitive-types:

num-traits feature needed for dex integer sq root:

Affects asset-hub-westend-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext ^0.17.0, cumulus-pallet-parachain-system ^0.17.1, cumulus-pallet-xcm ^0.17.0, cumulus-pallet-xcmp-queue ^0.17.0, frame-executive ^38.0.0, frame-support ^38.2.0, frame-system ^38.0.0, frame-try-runtime ^0.44.0, pallet-asset-conversion ^20.0.0, pallet-asset-conversion-ops ^0.6.0, pallet-asset-conversion-tx-payment ^20.0.0, pallet-assets ^40.0.0, pallet-assets-freezer ^0.5.0, pallet-aura ^37.0.0, pallet-authorship ^38.0.0, pallet-balances ^39.0.0, pallet-collator-selection ^19.0.0, pallet-message-queue ^41.0.2, pallet-multisig ^38.0.0, pallet-nft-fractionalization ^21.0.0, pallet-nfts ^32.0.0, pallet-proxy ^38.0.0, pallet-session ^38.0.0, pallet-state-trie-migration ^40.0.0, pallet-timestamp ^37.0.0, pallet-transaction-payment ^38.0.2, pallet-uniques ^38.0.0, pallet-utility ^38.0.0, pallet-xcm ^17.0.1, pallet-xcm-bridge-hub-router ^0.15.3, staging-parachain-info ^0.17.0, polkadot-runtime-common ^17.0.0, and sp-runtime ^39.0.5

runtime-benchmarks

Enables runtime-benchmarks of assets-common ^0.18.3, cumulus-pallet-parachain-system ^0.17.1, cumulus-pallet-session-benchmarking ^19.0.0, cumulus-pallet-xcmp-queue ^0.17.0, cumulus-primitives-core ^0.16.0, cumulus-primitives-utility ^0.17.0, frame-benchmarking ^38.0.0, frame-support ^38.2.0, frame-system ^38.0.0, frame-system-benchmarking ^38.0.0, pallet-asset-conversion ^20.0.0, pallet-asset-conversion-ops ^0.6.0, pallet-assets ^40.0.0, pallet-assets-freezer ^0.5.0, pallet-balances ^39.0.0, pallet-collator-selection ^19.0.0, pallet-message-queue ^41.0.2, pallet-multisig ^38.0.0, pallet-nft-fractionalization ^21.0.0, pallet-nfts ^32.0.0, pallet-proxy ^38.0.0, pallet-state-trie-migration ^40.0.0, pallet-timestamp ^37.0.0, pallet-uniques ^38.0.0, pallet-utility ^38.0.0, pallet-xcm ^17.0.1, pallet-xcm-benchmarks ^17.0.0, pallet-xcm-bridge-hub-router ^0.15.3, parachains-common ^18.0.0, polkadot-parachain-primitives ^14.0.0, polkadot-runtime-common ^17.0.0, snowbridge-router-primitives ^0.16.0, sp-runtime ^39.0.5, staging-xcm-builder ^17.0.3, staging-xcm-executor ^17.0.0, and xcm-runtime-apis ^0.4.2

Affects xcm_config::bridging.BridgingBenchmarksHelper

metadata-hash build on-chain-release-build?

Enable the metadata hash generation in the wasm builder.

Enables metadata-hash of substrate-wasm-builder ^24.0.1

on-chain-release-build = metadata-hash

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.

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?

Enables frame-benchmarking ^38.0.0

frame-system-benchmarking runtime-benchmarks?

Enables frame-system-benchmarking ^38.0.0

frame-try-runtime try-runtime?

Enables frame-try-runtime ^0.44.0

pallet-xcm-benchmarks runtime-benchmarks?

Enables pallet-xcm-benchmarks ^17.0.0

substrate-wasm-builder build metadata-hash? std

Enables substrate-wasm-builder ^24.0.1