Cargo Features
[dependencies]
cumulus-pallet-parachain-system = { version = "0.11.0", default-features = false, features = ["std", "try-runtime", "parameterized-consensus-hook", "runtime-benchmarks"] }
- default = std
-
The
std
feature is set by default whenevercumulus-pallet-parachain-system
is added without
somewhere in the dependency tree.default-features = false - std default
-
Enables std of frame-benchmarking, frame-support, frame-system, log, and pallet-message-queue
frame-benchmarking:
Substrate
and std of bytes, parity-scale-codec, cumulus-pallet-parachain-system-proc-macro, cumulus-primitives-core, cumulus-primitives-parachain-inherent, cumulus-primitives-proof-size-hostfunction, and environmental
cumulus-pallet-parachain-system-proc-macro:
Cumulus
and std of polkadot-parachain-primitives, polkadot-runtime-common, polkadot-runtime-parachains, scale-info, sp-core, sp-externalities, sp-inherents, sp-io, sp-runtime, sp-state-machine, sp-std, sp-trie, trie-db ^0.28.0, and staging-xcm
polkadot-parachain-primitives:
Polkadot
- try-runtime
-
Enables try-runtime of frame-support, frame-system, pallet-message-queue, optional polkadot-runtime-common, polkadot-runtime-parachains, and sp-runtime
- parameterized-consensus-hook
- runtime-benchmarks
-
Enables runtime-benchmarks of cumulus-primitives-core, frame-benchmarking, frame-support, frame-system, pallet-message-queue, polkadot-parachain-primitives, polkadot-runtime-common, polkadot-runtime-parachains, and sp-runtime
Affects
cumulus-pallet-parachain-system::RelaychainStateProvider.set_current_relay_chain_state
…
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.