Cargo Features

[dependencies]
asset-hub-rococo-runtime = { version = "0.16.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "on-chain-release-build"] }
default = std

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

std default = substrate-wasm-builder

Enables std of primitive-types

num-traits feature needed for dex integer sq root:

and std of pallet-xcm-bridge-hub-router, staging-parachain-info, parachains-common, polkadot-parachain-primitives, and polkadot-runtime-common

pallet-xcm-bridge-hub-router:

Bridges

and std of assets-common, bp-asset-hub-rococo, bp-asset-hub-westend, bp-bridge-hub-rococo, bp-bridge-hub-westend, parity-scale-codec, 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 rococo-runtime-constants, scale-info, snowbridge-router-primitives, sp-api, sp-block-builder, sp-consensus-aura, sp-core, sp-genesis-builder, sp-inherents, sp-offchain, sp-runtime, sp-session, sp-std, sp-storage, sp-transaction-pool, sp-version, sp-weights, testnet-parachains-constants, staging-xcm, staging-xcm-builder, and staging-xcm-executor

rococo-runtime-constants:

Polkadot

and std of frame-executive, frame-support, frame-system, frame-system-rpc-runtime-api, log, pallet-asset-conversion, pallet-asset-conversion-ops, pallet-asset-conversion-tx-payment, pallet-assets, pallet-aura, pallet-authorship, pallet-balances, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-nft-fractionalization, pallet-nfts, pallet-nfts-runtime-api, pallet-proxy, pallet-session, pallet-state-trie-migration, pallet-timestamp, pallet-transaction-payment, pallet-transaction-payment-rpc-runtime-api, pallet-uniques, pallet-utility, pallet-xcm, optional frame-benchmarking, optional frame-system-benchmarking, optional frame-try-runtime, and optional pallet-xcm-benchmarks

frame-benchmarking:

Substrate

Affects asset-hub-rococo-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-asset-conversion, pallet-asset-conversion-ops, pallet-asset-conversion-tx-payment, pallet-assets, pallet-aura, pallet-authorship, pallet-balances, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-nft-fractionalization, pallet-nfts, pallet-proxy, pallet-session, pallet-state-trie-migration, pallet-timestamp, pallet-transaction-payment, pallet-uniques, pallet-utility, pallet-xcm, pallet-xcm-bridge-hub-router, staging-parachain-info, polkadot-runtime-common, and sp-runtime

runtime-benchmarks

Enables runtime-benchmarks of assets-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-asset-conversion, pallet-asset-conversion-ops, pallet-assets, pallet-balances, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-nft-fractionalization, pallet-nfts, pallet-proxy, pallet-state-trie-migration, pallet-timestamp, pallet-uniques, pallet-utility, pallet-xcm, pallet-xcm-benchmarks, pallet-xcm-bridge-hub-router, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, snowbridge-router-primitives, sp-runtime, staging-xcm-builder, and staging-xcm-executor

Affects xcm_config::bridging.BridgingBenchmarksHelper

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.

frame-benchmarking runtime-benchmarks?
frame-system-benchmarking runtime-benchmarks?
frame-try-runtime try-runtime?
pallet-xcm-benchmarks runtime-benchmarks?
substrate-wasm-builder build std