Cargo Features

[dependencies]
glutton-westend-runtime = { version = "8.0.0", default-features = false, features = ["std", "try-runtime", "runtime-benchmarks", "on-chain-release-build"] }
default = std

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

std default

Enables std of staging-xcm, staging-xcm-builder, and staging-xcm-executor

staging-xcm:

Polkadot

and std of parity-scale-codec, cumulus-pallet-aura-ext, cumulus-pallet-parachain-system, cumulus-pallet-xcm, cumulus-primitives-aura, cumulus-primitives-core, and cumulus-primitives-timestamp

cumulus-pallet-aura-ext:

Cumulus

and std of frame-executive, frame-support, frame-system, frame-system-rpc-runtime-api, pallet-aura, pallet-glutton, pallet-message-queue, pallet-sudo, pallet-timestamp, staging-parachain-info, parachains-common, scale-info, 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, optional frame-benchmarking, optional frame-system-benchmarking, and optional frame-try-runtime

frame-benchmarking:

Substrate

Affects glutton-westend-runtime::native_version

try-runtime

Enables try-runtime of cumulus-pallet-aura-ext, cumulus-pallet-parachain-system, cumulus-pallet-xcm, frame-executive, frame-support, frame-system, frame-try-runtime, pallet-aura, pallet-glutton, pallet-message-queue, pallet-sudo, pallet-timestamp, staging-parachain-info, and sp-runtime

runtime-benchmarks

Enables runtime-benchmarks of cumulus-pallet-parachain-system, cumulus-primitives-core, frame-benchmarking, frame-support, frame-system, frame-system-benchmarking, pallet-glutton, pallet-message-queue, pallet-sudo, pallet-timestamp, parachains-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.

frame-benchmarking runtime-benchmarks?
frame-system-benchmarking runtime-benchmarks?
frame-try-runtime try-runtime?