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 whenevercontracts-parachain-runtime
is added without
somewhere in the dependency tree.default-features = false - std default = substrate-wasm-builder
-
Enables std of pallet-contracts, pallet-insecure-randomness-collective-flip, pallet-revive, pallet-session, pallet-sudo, pallet-timestamp, pallet-transaction-payment, and pallet-transaction-payment-rpc-runtime-api
pallet-contracts:
extra deps for setting up pallet-contracts and pallet-revive
and std of pallet-xcm, staging-parachain-info, polkadot-parachain-primitives, polkadot-runtime-common, scale-info, sp-api, sp-block-builder, sp-consensus-aura, sp-core, sp-inherents, sp-offchain, sp-runtime, sp-session, sp-std, sp-transaction-pool, sp-version, staging-xcm, staging-xcm-builder, and staging-xcm-executor
pallet-xcm:
Polkadot
and std of parity-scale-codec, cumulus-pallet-aura-ext, cumulus-pallet-dmp-queue, cumulus-pallet-parachain-system, cumulus-pallet-xcm, cumulus-pallet-xcmp-queue, cumulus-primitives-aura, cumulus-primitives-core, cumulus-primitives-timestamp, cumulus-primitives-utility, frame-executive, frame-support, frame-system, frame-system-rpc-runtime-api, log, pallet-assets, pallet-aura, pallet-authorship, pallet-balances, and pallet-collator-selection
cumulus-pallet-aura-ext:
Cumulus
Affects
contracts-parachain-runtime::native_version
… - try-runtime
-
Enables try-runtime of cumulus-pallet-aura-ext, cumulus-pallet-dmp-queue, 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-revive, pallet-session, pallet-sudo, pallet-timestamp, pallet-transaction-payment, pallet-xcm, staging-parachain-info, polkadot-runtime-common, and sp-runtime
- parachain
- runtime-benchmarks = hex-literal
-
Enables runtime-benchmarks of cumulus-pallet-parachain-system, cumulus-pallet-session-benchmarking, cumulus-pallet-xcmp-queue, frame-benchmarking, frame-support, frame-system, frame-system-benchmarking, pallet-balances, pallet-collator-selection, pallet-sudo, pallet-timestamp, pallet-xcm, polkadot-parachain-primitives, polkadot-runtime-common, sp-runtime, staging-xcm-builder, and staging-xcm-executor
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.