Cargo Features

[dependencies]
contracts-rococo-runtime = { version = "0.12.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "on-chain-release-build"] }
default = std

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

std default = substrate-wasm-builder

Enables std of pallet-xcm, staging-parachain-info, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, rococo-runtime-constants, and scale-info

pallet-xcm:

Polkadot

and std of sp-api, sp-block-builder, sp-consensus-aura, sp-core, sp-genesis-builder, sp-inherents, sp-offchain, sp-runtime, sp-session, sp-std, sp-storage, sp-transaction-pool, sp-version, testnet-parachains-constants, staging-xcm, staging-xcm-builder, and staging-xcm-executor

sp-api:

Substrate

and std of parity-scale-codec, cumulus-pallet-aura-ext, cumulus-pallet-parachain-system, cumulus-pallet-session-benchmarking, cumulus-pallet-xcm, cumulus-pallet-xcmp-queue, cumulus-primitives-aura, cumulus-primitives-core, cumulus-primitives-storage-weight-reclaim, cumulus-primitives-utility, frame-executive, frame-support, frame-system, frame-system-rpc-runtime-api, frame-try-runtime, log, pallet-aura, pallet-authorship, pallet-balances, pallet-collator-selection, pallet-contracts, pallet-insecure-randomness-collective-flip, pallet-message-queue, pallet-multisig, pallet-session, pallet-sudo, pallet-timestamp, pallet-transaction-payment, pallet-transaction-payment-rpc-runtime-api, pallet-utility, optional frame-benchmarking, and optional frame-system-benchmarking

cumulus-pallet-aura-ext:

Cumulus

Affects contracts-rococo-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext, cumulus-pallet-parachain-system, cumulus-pallet-xcm, cumulus-pallet-xcmp-queue, frame-executive, frame-support, frame-system, frame-try-runtime, pallet-aura, pallet-authorship, pallet-balances, pallet-collator-selection, pallet-contracts, pallet-insecure-randomness-collective-flip, pallet-message-queue, pallet-multisig, pallet-session, pallet-sudo, pallet-timestamp, pallet-transaction-payment, pallet-utility, pallet-xcm, staging-parachain-info, polkadot-runtime-common, and sp-runtime

runtime-benchmarks = hex-literal

Enables runtime-benchmarks of cumulus-pallet-parachain-system, cumulus-pallet-session-benchmarking, cumulus-pallet-xcmp-queue, cumulus-primitives-core, cumulus-primitives-utility, frame-benchmarking, frame-support, frame-system, frame-system-benchmarking, pallet-balances, pallet-collator-selection, pallet-contracts, pallet-message-queue, pallet-multisig, pallet-sudo, pallet-timestamp, pallet-utility, pallet-xcm, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, sp-runtime, staging-xcm-builder, and staging-xcm-executor

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

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?
frame-try-runtime std try-runtime?
frame-system-benchmarking runtime-benchmarks?
substrate-wasm-builder build std