We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 458e4dc commit 880d8ceCopy full SHA for 880d8ce
Cargo.toml
@@ -15,7 +15,7 @@ exclude = ["screenshots/*"]
15
[dependencies]
16
console = { version = "0.15", default-features = false, features = ["ansi-parsing"] }
17
futures-core = { version = "0.3", default-features = false, optional = true }
18
-number_prefix = "0.4"
+unit-prefix = "0.5.1"
19
portable-atomic = "1.0.0"
20
rayon = { version = "1.1", optional = true }
21
tokio = { version = "1", optional = true, features = ["io-util"] }
src/format.rs
@@ -1,7 +1,7 @@
1
use std::fmt;
2
use std::time::Duration;
3
4
-use number_prefix::NumberPrefix;
+use unit_prefix::NumberPrefix;
5
6
const SECOND: Duration = Duration::from_secs(1);
7
const MINUTE: Duration = Duration::from_secs(60);
0 commit comments