From 685d29a64d468ec4944da3fe0b653ffeffa55d02 Mon Sep 17 00:00:00 2001 From: Oliver Tale-Yazdi Date: Fri, 25 Aug 2023 12:22:53 +0200 Subject: [PATCH] Format features Signed-off-by: Oliver Tale-Yazdi --- polkadot/Cargo.toml | 12 ++++++------ polkadot/node/core/pvf/common/Cargo.toml | 4 ++-- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/polkadot/Cargo.toml b/polkadot/Cargo.toml index 69d7ce724f95b..561b49ab42041 100644 --- a/polkadot/Cargo.toml +++ b/polkadot/Cargo.toml @@ -130,11 +130,11 @@ debug-assertions = true overflow-checks = true [features] -runtime-benchmarks = ["polkadot-cli/runtime-benchmarks"] -try-runtime = ["polkadot-cli/try-runtime"] -fast-runtime = ["polkadot-cli/fast-runtime"] -runtime-metrics = ["polkadot-cli/runtime-metrics"] -pyroscope = ["polkadot-cli/pyroscope"] +runtime-benchmarks = [ "polkadot-cli/runtime-benchmarks" ] +try-runtime = [ "polkadot-cli/try-runtime" ] +fast-runtime = [ "polkadot-cli/fast-runtime" ] +runtime-metrics = [ "polkadot-cli/runtime-metrics" ] +pyroscope = [ "polkadot-cli/pyroscope" ] jemalloc-allocator = [ "polkadot-node-core-pvf-prepare-worker/jemalloc-allocator", "polkadot-overseer/jemalloc-allocator", @@ -142,7 +142,7 @@ jemalloc-allocator = [ # Enables timeout-based tests supposed to be run only in CI environment as they may be flaky # when run locally depending on system load -ci-only-tests = ["polkadot-node-core-pvf/ci-only-tests"] +ci-only-tests = [ "polkadot-node-core-pvf/ci-only-tests" ] # Configuration for building a .deb package - for use with `cargo-deb` [package.metadata.deb] diff --git a/polkadot/node/core/pvf/common/Cargo.toml b/polkadot/node/core/pvf/common/Cargo.toml index f9f900a0fec09..fd4dac08dd1f1 100644 --- a/polkadot/node/core/pvf/common/Cargo.toml +++ b/polkadot/node/core/pvf/common/Cargo.toml @@ -25,7 +25,7 @@ sc-executor-wasmtime = { path = "../../../../../substrate/client/executor/wasmti sp-core = { path = "../../../../../substrate/primitives/core" } sp-externalities = { path = "../../../../../substrate/primitives/externalities" } sp-io = { path = "../../../../../substrate/primitives/io" } -sp-tracing = { path = "../../../../../substrate/primitives/tracing" } +sp-tracing = { path = "../../../../../substrate/primitives/tracing", optional = true } [target.'cfg(target_os = "linux")'.dependencies] landlock = "0.2.0" @@ -37,4 +37,4 @@ tempfile = "3.3.0" [features] # This feature is used to export test code to other crates without putting it in the production build. # Also used for building the puppet worker. -test-utils = [] +test-utils = [ "sp-tracing" ]