From 6a7e1360d327f623077582e4eb49dddbfc20c7de Mon Sep 17 00:00:00 2001 From: Isabel Atkinson Date: Tue, 18 Nov 2025 13:14:58 -0700 Subject: [PATCH 1/2] RUST-2302 Bump indicatif version for benchmarks --- Cargo.lock | 23 ++++++++++++----------- benchmarks/Cargo.toml | 2 +- 2 files changed, 13 insertions(+), 12 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6f86e2163..46c5c8bf8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1734,14 +1734,15 @@ dependencies = [ [[package]] name = "indicatif" -version = "0.15.0" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7baab56125e25686df467fe470785512329883aab42696d661247aca2a2896e4" +checksum = "9375e112e4b463ec1b1c6c011953545c65a30164fbab5b581df32b3abf0dcb88" dependencies = [ "console", - "lazy_static", - "number_prefix", - "regex", + "portable-atomic", + "unicode-width", + "unit-prefix", + "web-time", ] [[package]] @@ -2249,12 +2250,6 @@ dependencies = [ "syn 1.0.109", ] -[[package]] -name = "number_prefix" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17b02fc0ff9a9e4b35b3342880f48e896ebf69f2967921fe8646bf5b7125956a" - [[package]] name = "object" version = "0.37.3" @@ -3693,6 +3688,12 @@ version = "0.2.6" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853" +[[package]] +name = "unit-prefix" +version = "0.5.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81e544489bf3d8ef66c953931f56617f423cd4b5494be343d9b9d3dda037b9a3" + [[package]] name = "untrusted" version = "0.9.0" diff --git a/benchmarks/Cargo.toml b/benchmarks/Cargo.toml index 354ca9763..0519dad29 100644 --- a/benchmarks/Cargo.toml +++ b/benchmarks/Cargo.toml @@ -12,7 +12,7 @@ rust-version.workspace = true mongodb = { path = "../driver" } serde_json = "1.0.59" clap = "4.5" -indicatif = "0.15.0" +indicatif = "0.18" async-trait = "0.1.41" tokio = { version = "1.6", features = ["sync", "fs"] } tokio-util = "0.7" From 05ecd74ed3d4929e5a66adb0e73f42d479daae92 Mon Sep 17 00:00:00 2001 From: Isabel Atkinson Date: Tue, 18 Nov 2025 13:19:57 -0700 Subject: [PATCH 2/2] fix benchmarks --- benchmarks/src/bench.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benchmarks/src/bench.rs b/benchmarks/src/bench.rs index fbdccb216..0484e1c0d 100644 --- a/benchmarks/src/bench.rs +++ b/benchmarks/src/bench.rs @@ -122,7 +122,7 @@ pub async fn run_benchmark( .template( "{spinner:.green} [{elapsed_precise}] [{bar:40.cyan/blue}] {pos:>2}/{len:2} \ ({eta})", - ) + )? .progress_chars("#>-"), );