From 2d268c1613670d5447b28014512a1a20c3b00b4c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 27 Aug 2026 16:17:40 +0000 Subject: [PATCH] chore(deps): update criterion requirement from 0.5 to 0.8 Updates the requirements on [criterion](https://github.com/criterion-rs/criterion.rs) to permit the latest version. - [Release notes](https://github.com/criterion-rs/criterion.rs/releases) - [Changelog](https://github.com/criterion-rs/criterion.rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/criterion-rs/criterion.rs/compare/0.5.0...criterion-plot-v0.7.0) --- updated-dependencies: - dependency-name: criterion dependency-version: 0.7.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- crates/wx-rust-common/Cargo.toml | 2 +- crates/wx-rust-miniapp/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/wx-rust-common/Cargo.toml b/crates/wx-rust-common/Cargo.toml index c5c04e2..1a98014 100644 --- a/crates/wx-rust-common/Cargo.toml +++ b/crates/wx-rust-common/Cargo.toml @@ -48,7 +48,7 @@ futures-util.workspace = true redis = { workspace = true, optional = true } [dev-dependencies] -criterion = { version = "0.5", features = ["html_reports"] } +criterion = { version = "0.8", features = ["html_reports"] } # RSA mitigation 测试:rsa 0.9 依赖 rand_core 0.6(与 workspace rand 0.10 不兼容) rand_core = { version = "0.6", features = ["getrandom"] } diff --git a/crates/wx-rust-miniapp/Cargo.toml b/crates/wx-rust-miniapp/Cargo.toml index 5799468..6452138 100644 --- a/crates/wx-rust-miniapp/Cargo.toml +++ b/crates/wx-rust-miniapp/Cargo.toml @@ -42,7 +42,7 @@ hmac = { workspace = true } # 并发验收基准(G7)专用 dev 依赖:criterion 与 common 侧同一版本; # futures-util 供 join_all 驱动并发批次(均为 workspace 既有依赖) [dev-dependencies] -criterion = "0.5" +criterion = "0.8" futures-util = { workspace = true } # token 单飞验收基准:--test 模式进 CI(cargo bench -- --test),