Cargo Features

[dependencies]
contracts-parachain-runtime = { version = "0.42.0", default-features = false, features = ["std", "try-runtime", "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 ^38.0.0, pallet-insecure-randomness-collective-flip ^26.0.0, pallet-revive, pallet-session ^38.0.0, 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-contracts:

extra deps for setting up pallet-contracts and pallet-revive

and std of pallet-xcm ^17.0.1, staging-parachain-info ^0.17.0, polkadot-parachain-primitives ^14.0.0, 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-core ^34.0.0, sp-inherents ^34.0.0, sp-offchain ^34.0.0, sp-runtime ^39.0.1, sp-session ^36.0.0, sp-std, sp-transaction-pool ^34.0.0, sp-version ^37.0.0, staging-xcm ^14.2.0, staging-xcm-builder ^17.0.1, and staging-xcm-executor ^17.0.0

pallet-xcm:

Polkadot

and std of parity-scale-codec, cumulus-pallet-aura-ext ^0.17.0, cumulus-pallet-dmp-queue ^0.17.0, cumulus-pallet-parachain-system ^0.17.1, cumulus-pallet-xcm ^0.17.0, cumulus-pallet-xcmp-queue ^0.17.0, cumulus-primitives-aura ^0.15.0, cumulus-primitives-core ^0.16.0, cumulus-primitives-timestamp ^0.16.0, cumulus-primitives-utility ^0.17.0, frame-executive ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, frame-system-rpc-runtime-api ^34.0.0, log, pallet-assets ^40.0.0, pallet-aura ^37.0.0, pallet-authorship ^38.0.0, pallet-balances ^39.0.0, and pallet-collator-selection ^19.0.0

cumulus-pallet-aura-ext:

Cumulus

Affects contracts-parachain-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext ^0.17.0, cumulus-pallet-dmp-queue ^0.17.0, cumulus-pallet-parachain-system ^0.17.1, cumulus-pallet-xcm ^0.17.0, cumulus-pallet-xcmp-queue ^0.17.0, frame-executive ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, frame-try-runtime ^0.44.0, pallet-aura ^37.0.0, pallet-authorship ^38.0.0, pallet-balances ^39.0.0, pallet-collator-selection ^19.0.0, pallet-contracts ^38.0.0, pallet-revive, pallet-session ^38.0.0, pallet-sudo ^38.0.0, pallet-timestamp ^37.0.0, pallet-transaction-payment ^38.0.0, pallet-xcm ^17.0.1, staging-parachain-info ^0.17.0, polkadot-runtime-common ^17.0.0, and sp-runtime ^39.0.1

parachain
runtime-benchmarks = hex-literal

Enables runtime-benchmarks of cumulus-pallet-parachain-system ^0.17.1, cumulus-pallet-session-benchmarking ^19.0.0, cumulus-pallet-xcmp-queue ^0.17.0, frame-benchmarking ^38.0.0, frame-support ^38.0.0, frame-system ^38.0.0, frame-system-benchmarking ^38.0.0, pallet-balances ^39.0.0, pallet-collator-selection ^19.0.0, pallet-sudo ^38.0.0, pallet-timestamp ^37.0.0, pallet-xcm ^17.0.1, polkadot-parachain-primitives ^14.0.0, polkadot-runtime-common ^17.0.0, sp-runtime ^39.0.1, staging-xcm-builder ^17.0.1, and staging-xcm-executor ^17.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 ^38.0.0

frame-system-benchmarking runtime-benchmarks?

Enables frame-system-benchmarking ^38.0.0

frame-try-runtime try-runtime?

Enables frame-try-runtime ^0.44.0

substrate-wasm-builder build std

Enables substrate-wasm-builder ^24.0.1