Cargo Features
[dependencies]
collectives-westend-runtime = { version = "14.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "on-chain-release-build"] }
- default = std
-
The
std
feature is set by default whenevercollectives-westend-runtime
is added without
somewhere in the dependency tree.default-features = false - std default = substrate-wasm-builder
-
Enables std of 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, optional frame-benchmarking, frame-executive, frame-support, frame-system, optional frame-system-benchmarking, frame-system-rpc-runtime-api, optional frame-try-runtime, log, pallet-alliance, pallet-asset-rate, pallet-aura, pallet-authorship, pallet-balances, pallet-collator-selection, pallet-collective, pallet-collective-content, pallet-core-fellowship, pallet-message-queue, pallet-multisig, pallet-preimage, pallet-proxy, pallet-ranked-collective, pallet-referenda, pallet-salary, pallet-scheduler, pallet-session, pallet-state-trie-migration, pallet-timestamp, pallet-transaction-payment, pallet-transaction-payment-rpc-runtime-api, pallet-treasury, pallet-utility, pallet-xcm, staging-parachain-info, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, scale-info, serde_json, sp-api, sp-arithmetic, 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, testnet-parachains-constants, westend-runtime-constants, staging-xcm, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis
Affects
collectives-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-alliance, pallet-asset-rate, pallet-aura, pallet-authorship, pallet-balances, pallet-collator-selection, pallet-collective, pallet-collective-content, pallet-core-fellowship, pallet-message-queue, pallet-multisig, pallet-preimage, pallet-proxy, pallet-ranked-collective, pallet-referenda, pallet-salary, pallet-scheduler, pallet-session, pallet-state-trie-migration, pallet-timestamp, pallet-transaction-payment, pallet-treasury, pallet-utility, pallet-xcm, staging-parachain-info, polkadot-runtime-common, and sp-runtime
- runtime-benchmarks
-
Enables runtime-benchmarks of 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-alliance, pallet-asset-rate, pallet-balances, pallet-collator-selection, pallet-collective, pallet-collective-content, pallet-core-fellowship, pallet-message-queue, pallet-multisig, pallet-preimage, pallet-proxy, pallet-ranked-collective, pallet-referenda, pallet-salary, pallet-scheduler, pallet-state-trie-migration, pallet-timestamp, pallet-treasury, pallet-utility, pallet-xcm, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, sp-runtime, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis
Affects
impls::benchmarks
… - 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.