Upgrade indicatif to 0.17
This commit is contained in:
parent
10bb5e7468
commit
78770b2b7a
|
@ -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"
|
||||||
|
|
|
@ -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)");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue