Cargo Features

[dependencies]
polkadot-cli = { version = "19.0.0", default-features = false, features = ["db", "metadata-hash", "service", "cli", "full-node", "try-runtime", "fast-runtime", "pyroscope", "runtime-benchmarks", "westend-native", "rococo-native", "malus", "runtime-metrics"] }
default = cli, db, full-node

These default features are set whenever polkadot-cli is added without default-features = false somewhere in the dependency tree.

db default

Enables db of polkadot-service

metadata-hash

Enables metadata-hash of polkadot-service

polkadot-service:

Generate the metadata hash needed for CheckMetadataHash in the test runtimes.

service cli

Enables polkadot-service

cli default = clap, frame-benchmarking-cli, sc-cli, sc-service, sc-tracing, service
full-node default malus?

Enables full-node of polkadot-service

try-runtime

Enables try-runtime of optional polkadot-service and sp-runtime

fast-runtime

Enables fast-runtime of polkadot-service

pyroscope = pyroscope_pprofrs

Enables pyroscope

runtime-benchmarks

Enables runtime-benchmarks of optional frame-benchmarking-cli, polkadot-node-metrics, optional polkadot-service, optional sc-service, and sp-runtime

westend-native

Configure the native runtimes to use.

Enables westend-native of polkadot-service

rococo-native

Enables rococo-native of polkadot-service

malus = full-node

Enables malus of polkadot-service

Affects command::run_node

runtime-metrics

Enables runtime-metrics of polkadot-node-metrics and polkadot-service

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.

clap cli
pyroscope_pprofrs pyroscope?
frame-benchmarking-cli cli
sc-cli cli
sc-service cli
sc-tracing cli