Cargo Features
[dependencies]
bridge-hub-rococo-runtime = { version = "0.16.0", default-features = false, features = ["std", "try-runtime", "fast-runtime", "runtime-benchmarks", "on-chain-release-build"] }
- default = std
-
The
std
feature is set by default wheneverbridge-hub-rococo-runtime
is added without
somewhere in the dependency tree.default-features = false - std default = serde, substrate-wasm-builder
-
Enables std of bp-asset-hub-rococo, bp-asset-hub-westend, bp-bridge-hub-polkadot, bp-bridge-hub-rococo, bp-bridge-hub-westend, bp-header-chain, bp-messages, bp-parachains, bp-polkadot-bulletin, bp-polkadot-core, bp-relayers, bp-rococo, bp-runtime, bp-westend, bridge-hub-common, bridge-runtime-common, 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, cumulus-primitives-utility, frame-benchmarking, frame-executive, frame-metadata-hash-extension, frame-support, frame-system, optional frame-system-benchmarking, frame-system-rpc-runtime-api, optional frame-try-runtime, 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, optional pallet-xcm-benchmarks, pallet-xcm-bridge-hub, staging-parachain-info, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, rococo-runtime-constants, scale-info, serde_json, snowbridge-beacon-primitives, snowbridge-core, snowbridge-outbound-queue-runtime-api, snowbridge-pallet-ethereum-client, snowbridge-pallet-inbound-queue, snowbridge-pallet-outbound-queue, snowbridge-pallet-system, snowbridge-router-primitives, snowbridge-runtime-common, snowbridge-system-runtime-api, 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, staging-xcm, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis
Affects
bridge-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-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, snowbridge-pallet-ethereum-client, snowbridge-pallet-inbound-queue, snowbridge-pallet-outbound-queue, snowbridge-pallet-system, and sp-runtime
- fast-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, snowbridge-core, snowbridge-pallet-ethereum-client, snowbridge-pallet-inbound-queue, snowbridge-pallet-outbound-queue, snowbridge-pallet-system, snowbridge-router-primitives, snowbridge-runtime-common, sp-runtime, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis
Affects
bridge_to_ethereum_config::benchmark_helpers
… - 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.
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.