Cargo Features

polkadot-parachain-lib has no features set by default.

[dependencies]
polkadot-parachain-lib = { version = "0.3.0", features = ["rococo-native", "westend-native", "try-runtime", "runtime-benchmarks"] }
rococo-native

Enables rococo-native of polkadot-cli ^19.0.0

westend-native

Enables westend-native of polkadot-cli ^19.0.0

polkadot-cli:

Configure the native runtimes to use.

try-runtime

Enables try-runtime of frame-support ^38.0.0, frame-try-runtime ^0.44.0, pallet-transaction-payment ^38.0.0, polkadot-cli ^19.0.0, and sp-runtime ^39.0.1

runtime-benchmarks

Enables runtime-benchmarks of cumulus-primitives-core ^0.16.0, frame-benchmarking ^38.0.0, frame-benchmarking-cli ^43.0.0, frame-support ^38.0.0, parachains-common ^18.0.0, polkadot-cli ^19.0.0, polkadot-primitives ^16.0.0, sc-client-db ^0.44.1, sc-service ^0.46.0, and sp-runtime ^39.0.1

Affects command::NodeCommandRunner.run_benchmark_storage_cmd, types::ParachainHostFunctions

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?

Enables frame-benchmarking ^38.0.0

frame-try-runtime try-runtime?

Enables frame-try-runtime ^0.44.0

frame-support runtime-benchmarks? try-runtime?

Enables frame-support ^38.0.0