Skip to content

Commit 9f28bf0

Browse files
authored
Merge pull request uutils#9322 from sylvestre/RUSTSEC-2025-0119
replace number_prefix by unit-prefix
2 parents 67c7612 + 0709890 commit 9f28bf0

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,6 @@ 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"
353352
onig = { version = "~6.5.1", default-features = false }
354353
parse_datetime = "0.13.0"
355354
phf = "0.13.1"
@@ -373,6 +372,7 @@ textwrap = { version = "0.16.1", features = ["terminal_size"] }
373372
thiserror = "2.0.3"
374373
time = { version = "0.3.36" }
375374
unicode-width = "0.2.0"
375+
unit-prefix = "0.5"
376376
utmp-classic = "0.1.6"
377377
uutils_term_grid = "0.7"
378378
walkdir = "2.5"

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)