Cargo Features

[dependencies]
coretime-westend-runtime = { version = "0.12.0", default-features = false, features = ["std", "try-runtime", "fast-runtime", "runtime-benchmarks", "metadata-hash", "on-chain-release-build"] }
default = std

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

std default = serde, substrate-wasm-builder

Enables 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, optional frame-benchmarking, frame-executive, frame-metadata-hash-extension, frame-support, frame-system, optional frame-system-benchmarking, frame-system-rpc-runtime-api, optional frame-try-runtime, log, pallet-aura, pallet-authorship, pallet-balances, pallet-broker, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-proxy, pallet-session, pallet-timestamp, pallet-transaction-payment, pallet-transaction-payment-rpc-runtime-api, pallet-utility, pallet-xcm, optional pallet-xcm-benchmarks, staging-parachain-info, parachains-common, polkadot-parachain-primitives, polkadot-runtime-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-storage, sp-transaction-pool, sp-version, testnet-parachains-constants, westend-runtime-constants, staging-xcm, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis

Affects coretime-westend-runtime::fast_runtime_binary, coretime-westend-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-broker, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-proxy, pallet-session, pallet-timestamp, pallet-transaction-payment, pallet-utility, pallet-xcm, staging-parachain-info, polkadot-runtime-common, and sp-runtime

fast-runtime

Enables fast-runtime of westend-runtime-constants

westend-runtime-constants:

Set timing constants (e.g. session period) to faster versions to speed up testing.

runtime-benchmarks

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-broker, pallet-collator-selection, pallet-message-queue, pallet-multisig, pallet-proxy, pallet-timestamp, pallet-utility, pallet-xcm, pallet-xcm-benchmarks, parachains-common, polkadot-parachain-primitives, polkadot-runtime-common, sp-runtime, staging-xcm-builder, staging-xcm-executor, and xcm-runtime-apis

metadata-hash build on-chain-release-build?

Enable the metadata hash generation in the wasm builder.

Enables metadata-hash of substrate-wasm-builder

on-chain-release-build = metadata-hash

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.

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.

serde std
frame-benchmarking runtime-benchmarks?
frame-system-benchmarking runtime-benchmarks?
frame-try-runtime try-runtime?
pallet-xcm-benchmarks runtime-benchmarks?
substrate-wasm-builder build metadata-hash? std