Skip to content

Commit f022600

Browse files
RUST-2302 Bump indicatif version for benchmarks (#1533)
1 parent 1b2511f commit f022600

File tree

3 files changed

+14
-13
lines changed

3 files changed

+14
-13
lines changed

Cargo.lock

Lines changed: 12 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

benchmarks/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ rust-version.workspace = true
1212
mongodb = { path = "../driver" }
1313
serde_json = "1.0.59"
1414
clap = "4.5"
15-
indicatif = "0.15.0"
15+
indicatif = "0.18"
1616
async-trait = "0.1.41"
1717
tokio = { version = "1.6", features = ["sync", "fs"] }
1818
tokio-util = "0.7"

benchmarks/src/bench.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ pub async fn run_benchmark<B: Benchmark + Send + Sync>(
122122
.template(
123123
"{spinner:.green} [{elapsed_precise}] [{bar:40.cyan/blue}] {pos:>2}/{len:2} \
124124
({eta})",
125-
)
125+
)?
126126
.progress_chars("#>-"),
127127
);
128128

0 commit comments

Comments
 (0)