Upgrade indicatif to 0.16
This commit is contained in:
parent
331ac9464e
commit
8902b5b766
|
@ -15,7 +15,7 @@ readme = "../README.md"
|
||||||
with-serde = ["serde", "serde-big-array"]
|
with-serde = ["serde", "serde-big-array"]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
indicatif = { version = "0.15", optional = true }
|
indicatif = { version = "0.16", optional = true }
|
||||||
num_cpus = "1.13"
|
num_cpus = "1.13"
|
||||||
ordered-float = "2.0"
|
ordered-float = "2.0"
|
||||||
parking_lot = "0.11"
|
parking_lot = "0.11"
|
||||||
|
|
|
@ -245,7 +245,7 @@ where
|
||||||
let num = if layer.is_zero() { M * 2 } else { M };
|
let num = if layer.is_zero() { M * 2 } else { M };
|
||||||
#[cfg(feature = "indicatif")]
|
#[cfg(feature = "indicatif")]
|
||||||
if let Some(bar) = &progress {
|
if let Some(bar) = &progress {
|
||||||
bar.set_message(&format!("Building index (layer {})", layer.0));
|
bar.set_message(format!("Building index (layer {})", layer.0));
|
||||||
}
|
}
|
||||||
|
|
||||||
let end = range.end;
|
let end = range.end;
|
||||||
|
|
Loading…
Reference in New Issue