Skip to content

Commit b9ad9b3

Browse files
chore(deps): remove number-prefix in favor of unit_prefix (#24293)
1 parent bc654a7 commit b9ad9b3

File tree

4 files changed

+6
-12
lines changed

4 files changed

+6
-12
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.

LICENSE-3rdparty.csv

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,6 @@ num_cpus,https://github.com/seanmonstar/num_cpus,MIT OR Apache-2.0,Sean McArthur
521521
num_enum,https://github.com/illicitonion/num_enum,BSD-3-Clause OR MIT OR Apache-2.0,"Daniel Wagner-Hall <[email protected]>, Daniel Henry-Mantilla <[email protected]>, Vincent Esche <[email protected]>"
522522
num_enum_derive,https://github.com/illicitonion/num_enum,BSD-3-Clause OR MIT OR Apache-2.0,"Daniel Wagner-Hall <[email protected]>, Daniel Henry-Mantilla <[email protected]>, Vincent Esche <[email protected]>"
523523
num_threads,https://github.com/jhpratt/num_threads,MIT OR Apache-2.0,Jacob Pratt <[email protected]>
524-
number_prefix,https://github.com/ogham/rust-number-prefix,MIT,Benjamin Sago <[email protected]>
525524
oauth2,https://github.com/ramosbugs/oauth2-rs,MIT OR Apache-2.0,"Alex Crichton <[email protected]>, Florin Lipan <[email protected]>, David A. Ramos <[email protected]>"
526525
objc,http://github.com/SSheldon/rust-objc,MIT,Steven Sheldon
527526
objc2-core-foundation,https://github.com/madsmtm/objc2,Zlib OR Apache-2.0 OR MIT,The objc2-core-foundation Authors
@@ -833,6 +832,7 @@ unicode-normalization,https://github.com/unicode-rs/unicode-normalization,MIT OR
833832
unicode-segmentation,https://github.com/unicode-rs/unicode-segmentation,MIT OR Apache-2.0,"kwantam <[email protected]>, Manish Goregaokar <[email protected]>"
834833
unicode-truncate,https://github.com/Aetf/unicode-truncate,MIT OR Apache-2.0,Aetf <[email protected]>
835834
unicode-width,https://github.com/unicode-rs/unicode-width,MIT OR Apache-2.0,"kwantam <[email protected]>, Manish Goregaokar <[email protected]>"
835+
unit-prefix,https://codeberg.org/commons-rs/unit-prefix,MIT,"Fabio Valentini <[email protected]>, Benjamin Sago <[email protected]>"
836836
universal-hash,https://github.com/RustCrypto/traits,MIT OR Apache-2.0,RustCrypto Developers
837837
unreachable,https://github.com/reem/rust-unreachable,MIT OR Apache-2.0,Jonathan Reem <[email protected]>
838838
unsafe-libyaml,https://github.com/dtolnay/unsafe-libyaml,MIT,David Tolnay <[email protected]>

lib/vector-top/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ tokio-stream = { version = "0.1.17", default-features = false, features = ["net"
1818
url.workspace = true
1919
humantime = { version = "2.2.0", default-features = false }
2020
crossterm = { version = "0.29.0", default-features = false, features = ["event-stream", "windows"] }
21-
number_prefix = { version = "0.4.0", default-features = false, features = ["std"] }
21+
unit-prefix = { version = "0.5.2", default-features = false, features = ["std"] }
2222
num-format = { version = "0.4.4", default-features = false, features = ["with-num-bigint"] }
2323
ratatui = { version = "0.29.0", default-features = false, features = ["crossterm"] }
2424
vector-common = { path = "../vector-common" }

lib/vector-top/src/dashboard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ use crossterm::{
99
tty::IsTty,
1010
};
1111
use num_format::{Locale, ToFormattedString};
12-
use number_prefix::NumberPrefix;
1312
use ratatui::{
1413
Frame, Terminal,
1514
backend::CrosstermBackend,
@@ -19,6 +18,7 @@ use ratatui::{
1918
widgets::{Block, Borders, Cell, Paragraph, Row, Table, Wrap},
2019
};
2120
use tokio::sync::oneshot;
21+
use unit_prefix::NumberPrefix;
2222

2323
use super::{
2424
events::capture_key_press,

0 commit comments

Comments
 (0)