Cargo Features

Polkadot has no features set by default.

[dependencies]
polkadot = { version = "11.0.0", features = ["try-runtime", "fast-runtime", "runtime-metrics", "pyroscope", "jemalloc-allocator", "runtime-benchmarks", "ci-only-tests"] }
try-runtime

Enables try-runtime of polkadot-cli

Crates in our workspace, defined as dependencies so we can pass them feature flags.

fast-runtime

Enables fast-runtime of polkadot-cli

runtime-metrics

Enables runtime-metrics of polkadot-cli

pyroscope

Enables pyroscope of polkadot-cli

jemalloc-allocator

Enables tikv-jemallocator, jemalloc-allocator of polkadot-node-core-pvf, polkadot-node-core-pvf-prepare-worker, and polkadot-overseer

runtime-benchmarks

Enables runtime-benchmarks of polkadot-cli

ci-only-tests

Enables timeout-based tests supposed to be run only in CI environment as they may be flaky when run locally depending on system load

Enables ci-only-tests of polkadot-node-core-pvf