From d064f87ad7d4234514ab7179a3e0160b4ee18ff2 Mon Sep 17 00:00:00 2001 From: Moudy Date: Thu, 21 May 2026 16:44:41 +0200 Subject: [PATCH] refactor: lift criterion html_reports feature to workspace declaration --- Cargo.toml | 2 +- tools/crypto_primitives_bench/Cargo.toml | 2 +- tools/cycle_bench/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index de8dd74c..d3b0921c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -131,7 +131,7 @@ url = { version = "2.5.4", features = ["serde"] } tokio-retry = "0.3.0" schemars = "1.2" async-stream = "0.3.6" -criterion = "0.8" +criterion = { version = "0.8", features = ["html_reports"] } logos-blockchain-common-http-client = { git = "https://github.com/logos-blockchain/logos-blockchain.git", rev = "ee281a447d95a951752461ee0a6e88eb4a0f17cf" } logos-blockchain-key-management-system-service = { git = "https://github.com/logos-blockchain/logos-blockchain.git", rev = "ee281a447d95a951752461ee0a6e88eb4a0f17cf" } diff --git a/tools/crypto_primitives_bench/Cargo.toml b/tools/crypto_primitives_bench/Cargo.toml index 38005bd0..8e99f79f 100644 --- a/tools/crypto_primitives_bench/Cargo.toml +++ b/tools/crypto_primitives_bench/Cargo.toml @@ -12,7 +12,7 @@ workspace = true key_protocol.workspace = true nssa_core = { workspace = true, features = ["host"] } rand = { workspace = true } -criterion = { workspace = true, features = ["html_reports"] } +criterion.workspace = true [[bench]] name = "primitives" diff --git a/tools/cycle_bench/Cargo.toml b/tools/cycle_bench/Cargo.toml index aa30ebc6..13ea0023 100644 --- a/tools/cycle_bench/Cargo.toml +++ b/tools/cycle_bench/Cargo.toml @@ -30,7 +30,7 @@ anyhow.workspace = true clap = { workspace = true } [dev-dependencies] -criterion = { workspace = true, features = ["html_reports"] } +criterion.workspace = true [[bench]] name = "verify"