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),