Cargo Features

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

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

std default = substrate-wasm-builder

Enables std of pallet-contracts ^30.0.0, pallet-insecure-randomness-collective-flip ^19.0.0, pallet-session ^31.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-contracts:

extra deps for setting up pallet-contracts

and std of parity-scale-codec, cumulus-pallet-aura-ext ^0.10.0, cumulus-pallet-dmp-queue ^0.10.0, cumulus-pallet-parachain-system ^0.10.0, cumulus-pallet-xcm ^0.10.0, cumulus-pallet-xcmp-queue ^0.10.0, cumulus-primitives-core ^0.10.0, cumulus-primitives-timestamp ^0.10.0, cumulus-primitives-utility ^0.10.0, frame-executive ^31.0.0, frame-support ^31.0.0, frame-system ^31.0.0, frame-system-rpc-runtime-api ^29.0.0, log, pallet-assets ^32.0.0, pallet-aura ^30.0.0, pallet-authorship ^31.0.0, pallet-balances ^31.0.0, and pallet-collator-selection ^12.0.0

cumulus-pallet-aura-ext:

Cumulus

and std of pallet-xcm ^10.0.1, staging-parachain-info ^0.10.0, polkadot-parachain-primitives ^9.0.0, 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-core ^31.0.0, sp-inherents ^29.0.0, sp-offchain ^29.0.0, sp-runtime ^34.0.0, sp-session ^30.0.0, sp-std, sp-transaction-pool ^29.0.0, sp-version ^32.0.0, staging-xcm ^10.0.0, staging-xcm-builder ^10.0.0, and staging-xcm-executor ^10.0.0

pallet-xcm:

Polkadot

Affects contracts-parachain-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext ^0.10.0, cumulus-pallet-dmp-queue ^0.10.0, cumulus-pallet-parachain-system ^0.10.0, cumulus-pallet-xcm ^0.10.0, cumulus-pallet-xcmp-queue ^0.10.0, frame-executive ^31.0.0, frame-support ^31.0.0, frame-system ^31.0.0, frame-try-runtime ^0.37.0, pallet-aura ^30.0.0, pallet-authorship ^31.0.0, pallet-balances ^31.0.0, pallet-collator-selection ^12.0.0, pallet-session ^31.0.0, pallet-sudo ^31.0.0, pallet-timestamp ^30.0.0, pallet-transaction-payment ^31.0.0, pallet-xcm ^10.0.1, staging-parachain-info ^0.10.0, polkadot-runtime-common ^10.0.0, and sp-runtime ^34.0.0

experimental

Enables experimental of pallet-aura ^30.0.0

parachain
runtime-benchmarks = hex-literal

Enables runtime-benchmarks of cumulus-pallet-parachain-system ^0.10.0, cumulus-pallet-session-benchmarking ^12.0.0, cumulus-pallet-xcmp-queue ^0.10.0, frame-benchmarking ^31.0.0, frame-support ^31.0.0, frame-system ^31.0.0, frame-system-benchmarking ^31.0.0, pallet-balances ^31.0.0, pallet-collator-selection ^12.0.0, pallet-sudo ^31.0.0, pallet-timestamp ^30.0.0, pallet-xcm ^10.0.1, polkadot-parachain-primitives ^9.0.0, polkadot-runtime-common ^10.0.0, sp-runtime ^34.0.0, staging-xcm-builder ^10.0.0, and staging-xcm-executor ^10.0.0

frame-benchmarking:

Substrate

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.

hex-literal runtime-benchmarks?
frame-benchmarking runtime-benchmarks?

Enables frame-benchmarking ^31.0.0

frame-system-benchmarking runtime-benchmarks?

Enables frame-system-benchmarking ^31.0.0

frame-try-runtime try-runtime?

Enables frame-try-runtime ^0.37.0

substrate-wasm-builder build std

Enables substrate-wasm-builder ^20.0.0