Cargo Features

[dependencies]
contracts-node-runtime = { version = "0.40.0", default-features = false, features = ["std", "try-runtime", "experimental", "runtime-benchmarks"] }
default = std

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

std default = substrate-wasm-builder

Enables std of pallet-assets ^32.0.0, pallet-aura ^30.0.0, pallet-authorship ^31.0.0, pallet-balances ^31.0.0, pallet-contracts ^30.0.0, pallet-grandpa ^31.0.0, pallet-insecure-randomness-collective-flip ^19.0.0, pallet-sudo ^31.0.0, pallet-timestamp ^30.0.0, pallet-transaction-payment ^31.0.0, and pallet-transaction-payment-rpc-runtime-api ^31.0.0

pallet-assets:

extra deps for setting up pallet-contracts

and std of polkadot-runtime-common ^10.0.0, scale-info, sp-api ^29.0.0, sp-block-builder ^29.0.0, sp-consensus-aura ^0.35.0, sp-consensus-grandpa ^16.0.0, sp-core ^31.0.0, sp-genesis-builder ^0.10.0, sp-inherents ^29.0.0, sp-offchain ^29.0.0, sp-runtime ^34.0.0, sp-session ^30.0.0, sp-std, sp-storage ^20.0.0, sp-transaction-pool ^29.0.0, and sp-version ^32.0.0

polkadot-runtime-common:

Polkadot

and std of parity-scale-codec, frame-executive ^31.0.0, frame-support ^31.0.0, frame-system ^31.0.0, frame-system-rpc-runtime-api ^29.0.0, optional frame-benchmarking ^31.0.0, optional frame-system-benchmarking ^31.0.0, and optional frame-try-runtime ^0.37.0

frame-benchmarking:

Used for runtime benchmarking

Affects contracts-node-runtime::native_version

try-runtime

Enables try-runtime of frame-executive ^31.0.0, frame-support ^31.0.0, frame-system ^31.0.0, frame-try-runtime ^0.37.0, pallet-assets ^32.0.0, pallet-aura ^30.0.0, pallet-balances ^31.0.0, pallet-contracts ^30.0.0, pallet-grandpa ^31.0.0, pallet-sudo ^31.0.0, pallet-timestamp ^30.0.0, pallet-transaction-payment ^31.0.0, and sp-runtime ^34.0.0

experimental

Enables experimental of pallet-aura ^30.0.0

runtime-benchmarks

Enables runtime-benchmarks of frame-benchmarking ^31.0.0, frame-support ^31.0.0, frame-system ^31.0.0, frame-system-benchmarking ^31.0.0, pallet-assets ^32.0.0, pallet-balances ^31.0.0, pallet-contracts ^30.0.0, pallet-grandpa ^31.0.0, pallet-sudo ^31.0.0, pallet-timestamp ^30.0.0, and sp-runtime ^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.

frame-try-runtime try-runtime?

Enables frame-try-runtime ^0.37.0

frame-benchmarking runtime-benchmarks?

Enables frame-benchmarking ^31.0.0

frame-system-benchmarking runtime-benchmarks?

Enables frame-system-benchmarking ^31.0.0

substrate-wasm-builder build std

Enables substrate-wasm-builder ^20.0.0