Upgrade indicatif to 0.17

This commit is contained in:
Dirkjan Ochtman 2022-08-01 14:17:12 +02:00
parent 10bb5e7468
commit 78770b2b7a
2 changed files with 1 additions and 2 deletions

View File

@ -15,7 +15,7 @@ readme = "../README.md"
with-serde = ["serde", "serde-big-array"] with-serde = ["serde", "serde-big-array"]
[dependencies] [dependencies]
indicatif = { version = "0.16", optional = true } indicatif = { version = "0.17", optional = true }
num_cpus = "1.13" num_cpus = "1.13"
ordered-float = "3.0" ordered-float = "3.0"
parking_lot = "0.12" parking_lot = "0.12"

View File

@ -217,7 +217,6 @@ where
let progress = builder.progress; let progress = builder.progress;
#[cfg(feature = "indicatif")] #[cfg(feature = "indicatif")]
if let Some(bar) = &progress { if let Some(bar) = &progress {
bar.set_draw_delta(1_000);
bar.set_length(points.len() as u64); bar.set_length(points.len() as u64);
bar.set_message("Build index (preparation)"); bar.set_message("Build index (preparation)");
} }