Cargo Features
Polkadot has no features set by default.
[dependencies]
polkadot = { version = "18.0.0", features = ["try-runtime", "fast-runtime", "runtime-metrics", "pyroscope", "jemalloc-allocator", "runtime-benchmarks", "metadata-hash", "ci-only-tests"] }
- try-runtime
-
Enables try-runtime of polkadot-cli
- 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 ^0.5.0, jemalloc-allocator of polkadot-node-core-pvf, polkadot-node-core-pvf-prepare-worker, and polkadot-overseer
- runtime-benchmarks
-
Enables runtime-benchmarks of polkadot-cli
- metadata-hash
-
Generate the metadata hash needed for CheckMetadataHash in the builtin test runtimes (westend and rococo).
Enables metadata-hash 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