Cargo Features
[dependencies]
contracts-node-runtime = { version = "0.42.0", default-features = false, features = ["std", "try-runtime", "parachain", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default whenevercontracts-node-runtime
is added without
somewhere in the dependency tree.default-features = false - std default = substrate-wasm-builder
-
Enables std of pallet-assets ^40.0.0, pallet-aura ^37.0.0, pallet-authorship ^38.0.0, pallet-balances ^39.0.0, pallet-contracts ^38.0.0, pallet-grandpa ^38.0.0, pallet-insecure-randomness-collective-flip ^26.0.0, pallet-revive, pallet-sudo ^38.0.0, pallet-timestamp ^37.0.0, pallet-transaction-payment ^38.0.0, and pallet-transaction-payment-rpc-runtime-api ^38.0.0
pallet-assets:
extra deps for setting up pallet-contracts and pallet-revive
and std of polkadot-runtime-common ^17.0.0, scale-info, sp-api ^34.0.0, sp-block-builder ^34.0.0, sp-consensus-aura ^0.40.0, sp-consensus-grandpa ^21.0.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.1, sp-session ^36.0.0, sp-storage ^21.0.0, sp-transaction-pool ^34.0.0, and sp-version ^37.0.0
polkadot-runtime-common:
Polkadot
and std of parity-scale-codec, frame-executive ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, frame-system-rpc-runtime-api ^34.0.0, optional frame-benchmarking ^38.0.0, optional frame-system-benchmarking ^38.0.0, and optional frame-try-runtime ^0.44.0
frame-benchmarking:
Used for runtime benchmarking
Affects
contracts-node-runtime::native_version
… - try-runtime
-
Enables try-runtime of frame-executive ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, frame-try-runtime ^0.44.0, pallet-assets ^40.0.0, pallet-aura ^37.0.0, pallet-balances ^39.0.0, pallet-contracts ^38.0.0, pallet-grandpa ^38.0.0, pallet-revive, pallet-sudo ^38.0.0, pallet-timestamp ^37.0.0, pallet-transaction-payment ^38.0.0, and sp-runtime ^39.0.1
- parachain
- runtime-benchmarks
-
Enables runtime-benchmarks of frame-benchmarking ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, frame-system-benchmarking ^38.0.0, pallet-assets ^40.0.0, pallet-balances ^39.0.0, pallet-grandpa ^38.0.0, pallet-sudo ^38.0.0, pallet-timestamp ^37.0.0, and sp-runtime ^39.0.1
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.