Skip to content

Commit d84ecda

Browse files
committed
replace number_prefix by unit-prefix
See https://rustsec.org/advisories/RUSTSEC-2025-0119
1 parent 67c7612 commit d84ecda

File tree

5 files changed

+13
-19
lines changed

5 files changed

+13
-19
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ notify = { version = "=8.2.0", features = ["macos_kqueue"] }
349349
num-bigint = "0.4.4"
350350
num-prime = "0.4.4"
351351
num-traits = "0.2.19"
352-
number_prefix = "0.4"
352+
unit-prefix = "0.5"
353353
onig = { version = "~6.5.1", default-features = false }
354354
parse_datetime = "0.13.0"
355355
phf = "0.13.1"

fuzz/Cargo.lock

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

src/uucore/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ bstr = { workspace = true }
2626
chrono = { workspace = true, optional = true }
2727
clap = { workspace = true }
2828
uucore_procs = { workspace = true }
29-
number_prefix = { workspace = true }
29+
unit-prefix = { workspace = true }
3030
phf = { workspace = true }
3131
dns-lookup = { workspace = true, optional = true }
3232
dunce = { version = "1.0.4", optional = true }

src/uucore/src/lib/features/format/human.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
//!
1010
//! Format sizes like gnulibs human_readable() would
1111
12-
use number_prefix::NumberPrefix;
12+
use unit_prefix::NumberPrefix;
1313

1414
#[derive(Copy, Clone, PartialEq)]
1515
pub enum SizeFormat {

0 commit comments

Comments
 (0)