Cargo Features
[dependencies]
contracts-rococo-runtime = { version = "0.21.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "on-chain-release-build"] }
- default = std
-
The
std
feature is set by default whenevercontracts-rococo-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 ^0.16.0, cumulus-pallet-parachain-system ^0.16.2, cumulus-pallet-session-benchmarking ^18.0.0, cumulus-pallet-xcm ^0.16.0, cumulus-pallet-xcmp-queue, cumulus-primitives-aura ^0.15.0, cumulus-primitives-core ^0.15.0, cumulus-primitives-storage-weight-reclaim ^7.0.2, cumulus-primitives-utility ^0.16.1, optional frame-benchmarking ^37.0.0, frame-executive ^37.0.0, frame-support ^37.1.0, frame-system ^37.1.0, optional frame-system-benchmarking ^37.0.0, frame-system-rpc-runtime-api ^34.0.0, frame-try-runtime ^0.43.0, log, pallet-aura ^36.0.0, pallet-authorship ^37.0.0, pallet-balances ^38.0.0, pallet-collator-selection ^18.0.0, pallet-contracts ^37.0.0, pallet-insecure-randomness-collective-flip ^25.0.0, pallet-message-queue ^40.0.1, pallet-multisig ^37.0.0, pallet-session ^37.0.0, pallet-sudo ^37.0.0, pallet-timestamp ^36.0.1, pallet-transaction-payment ^37.0.1, pallet-transaction-payment-rpc-runtime-api ^37.0.0, pallet-utility ^37.0.1, pallet-xcm ^16.0.2, staging-parachain-info ^0.16.0, parachains-common ^17.0.0, polkadot-parachain-primitives ^14.0.0, polkadot-runtime-common ^16.0.1, rococo-runtime-constants ^16.0.0, scale-info, 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.0, sp-inherents ^34.0.0, sp-offchain ^34.0.0, sp-runtime ^39.0.3, sp-session ^35.0.0, sp-storage ^21.0.0, sp-transaction-pool ^34.0.0, sp-version ^37.0.0, testnet-parachains-constants ^9.0.0, staging-xcm ^14.1.0, staging-xcm-builder ^16.0.3, staging-xcm-executor ^16.0.0, and xcm-runtime-apis ^0.3.1
Affects
contracts-rococo-runtime::native_version
… - try-runtime
-
Enables try-runtime of cumulus-pallet-aura-ext ^0.16.0, cumulus-pallet-parachain-system ^0.16.2, cumulus-pallet-xcm ^0.16.0, cumulus-pallet-xcmp-queue, frame-executive ^37.0.0, frame-support ^37.1.0, frame-system ^37.1.0, frame-try-runtime ^0.43.0, pallet-aura ^36.0.0, pallet-authorship ^37.0.0, pallet-balances ^38.0.0, pallet-collator-selection ^18.0.0, pallet-contracts ^37.0.0, pallet-insecure-randomness-collective-flip ^25.0.0, pallet-message-queue ^40.0.1, pallet-multisig ^37.0.0, pallet-session ^37.0.0, pallet-sudo ^37.0.0, pallet-timestamp ^36.0.1, pallet-transaction-payment ^37.0.1, pallet-utility ^37.0.1, pallet-xcm ^16.0.2, staging-parachain-info ^0.16.0, polkadot-runtime-common ^16.0.1, and sp-runtime ^39.0.3
- runtime-benchmarks = hex-literal
-
Enables runtime-benchmarks of cumulus-pallet-parachain-system ^0.16.2, cumulus-pallet-session-benchmarking ^18.0.0, cumulus-pallet-xcmp-queue, cumulus-primitives-core ^0.15.0, cumulus-primitives-utility ^0.16.1, frame-benchmarking ^37.0.0, frame-support ^37.1.0, frame-system ^37.1.0, frame-system-benchmarking ^37.0.0, pallet-balances ^38.0.0, pallet-collator-selection ^18.0.0, pallet-contracts ^37.0.0, pallet-message-queue ^40.0.1, pallet-multisig ^37.0.0, pallet-sudo ^37.0.0, pallet-timestamp ^36.0.1, pallet-utility ^37.0.1, pallet-xcm ^16.0.2, parachains-common ^17.0.0, polkadot-parachain-primitives ^14.0.0, polkadot-runtime-common ^16.0.1, sp-runtime ^39.0.3, staging-xcm-builder ^16.0.3, staging-xcm-executor ^16.0.0, and xcm-runtime-apis ^0.3.1
- 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 ^34.0.0
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.