diff --git a/Cargo.lock b/Cargo.lock index 1dd74e2a2..33c2b5b35 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2987,7 +2987,6 @@ name = "uu_chmod" version = "0.1.0" dependencies = [ "clap", - "libc", "thiserror 2.0.12", "uucore", ] @@ -3015,7 +3014,6 @@ version = "0.1.0" dependencies = [ "clap", "hex", - "regex", "uucore", ] @@ -3187,8 +3185,6 @@ dependencies = [ "num-bigint", "num-prime", "num-traits", - "rand 0.9.1", - "smallvec", "uucore", ] @@ -3198,12 +3194,9 @@ version = "0.0.0" dependencies = [ "array-init", "criterion", - "num-bigint", "num-prime", - "num-traits", "rand 0.9.1", "rand_chacha 0.9.0", - "uu_factor", ] [[package]] @@ -3246,9 +3239,6 @@ name = "uu_hashsum" version = "0.1.0" dependencies = [ "clap", - "hex", - "memchr", - "regex", "uucore", ] @@ -3298,7 +3288,6 @@ dependencies = [ "clap", "file_diff", "filetime", - "libc", "thiserror 2.0.12", "uucore", ] @@ -3353,13 +3342,11 @@ name = "uu_ls" version = "0.1.0" dependencies = [ "ansi-width", - "chrono", "clap", "glob", "hostname", "jiff", "lscolors", - "number_prefix", "selinux", "terminal_size", "thiserror 2.0.12", @@ -3412,8 +3399,6 @@ dependencies = [ "crossterm", "nix", "tempfile", - "unicode-segmentation", - "unicode-width 0.2.1", "uucore", ] @@ -3728,7 +3713,6 @@ name = "uu_sync" version = "0.1.0" dependencies = [ "clap", - "libc", "nix", "uucore", "windows-sys 0.60.2", @@ -3966,7 +3950,6 @@ dependencies = [ "dns-lookup", "dunce", "fluent", - "fluent-bundle", "fluent-syntax", "glob", "hex", @@ -3980,7 +3963,6 @@ dependencies = [ "num-traits", "number_prefix", "os_display", - "regex", "selinux", "sha1", "sha2", @@ -4028,7 +4010,6 @@ name = "uutests" version = "0.1.0" dependencies = [ "ctor", - "glob", "libc", "nix", "pretty_assertions", @@ -4036,7 +4017,6 @@ dependencies = [ "regex", "rlimit", "tempfile", - "time", "uucore", "xattr", ] diff --git a/Cargo.toml b/Cargo.toml index c53741db3..4959a6286 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -350,15 +350,12 @@ rust-ini = "0.21.0" same-file = "1.0.6" self_cell = "1.0.4" selinux = "0.5.2" -selinux-sys = "0.6.15" signal-hook = "0.3.17" -smallvec = { version = "1.13.2", features = ["union"] } tempfile = "3.15.0" terminal_size = "0.4.0" textwrap = { version = "0.16.1", features = ["terminal_size"] } thiserror = "2.0.3" time = { version = "0.3.36" } -unicode-segmentation = "1.11.0" unicode-width = "0.2.0" utmp-classic = "0.1.6" uutils_term_grid = "0.7" @@ -380,7 +377,6 @@ crc32fast = "1.4.2" digest = "0.10.7" # Fluent dependencies -fluent-bundle = "0.16.0" fluent = "0.17.0" unic-langid = "0.9.6" fluent-syntax = "0.12.0" diff --git a/fuzz/Cargo.lock b/fuzz/Cargo.lock index 24528e706..3af9585a9 100644 --- a/fuzz/Cargo.lock +++ b/fuzz/Cargo.lock @@ -1436,7 +1436,6 @@ version = "0.1.0" dependencies = [ "clap", "hex", - "regex", "uucore", ] @@ -1592,7 +1591,6 @@ dependencies = [ "digest", "dunce", "fluent", - "fluent-bundle", "fluent-syntax", "glob", "hex", diff --git a/fuzz/Cargo.toml b/fuzz/Cargo.toml index 221290490..363c10064 100644 --- a/fuzz/Cargo.toml +++ b/fuzz/Cargo.toml @@ -21,21 +21,21 @@ cargo-fuzz = true [dependencies] libfuzzer-sys = "0.4.7" rand = { version = "0.9.0", features = ["small_rng"] } -uufuzz = { path = "uufuzz/" } -uucore = { path = "../src/uucore/", features = ["parser"] } -uu_date = { path = "../src/uu/date/" } -uu_test = { path = "../src/uu/test/" } -uu_expr = { path = "../src/uu/expr/" } -uu_printf = { path = "../src/uu/printf/" } -uu_echo = { path = "../src/uu/echo/" } -uu_seq = { path = "../src/uu/seq/" } -uu_sort = { path = "../src/uu/sort/" } -uu_wc = { path = "../src/uu/wc/" } -uu_cut = { path = "../src/uu/cut/" } -uu_split = { path = "../src/uu/split/" } -uu_tr = { path = "../src/uu/tr/" } -uu_env = { path = "../src/uu/env/" } -uu_cksum = { path = "../src/uu/cksum/" } +uufuzz = { path = "uufuzz" } +uucore = { path = "../src/uucore", features = ["parser"] } +uu_date = { path = "../src/uu/date" } +uu_test = { path = "../src/uu/test" } +uu_expr = { path = "../src/uu/expr" } +uu_printf = { path = "../src/uu/printf" } +uu_echo = { path = "../src/uu/echo" } +uu_seq = { path = "../src/uu/seq" } +uu_sort = { path = "../src/uu/sort" } +uu_wc = { path = "../src/uu/wc" } +uu_cut = { path = "../src/uu/cut" } +uu_split = { path = "../src/uu/split" } +uu_tr = { path = "../src/uu/tr" } +uu_env = { path = "../src/uu/env" } +uu_cksum = { path = "../src/uu/cksum" } [[bin]] name = "fuzz_date" diff --git a/fuzz/uufuzz/Cargo.toml b/fuzz/uufuzz/Cargo.toml index a166832c3..971d30265 100644 --- a/fuzz/uufuzz/Cargo.toml +++ b/fuzz/uufuzz/Cargo.toml @@ -12,5 +12,5 @@ console = "0.16.0" libc = "0.2.153" rand = { version = "0.9.0", features = ["small_rng"] } similar = "2.5.0" -uucore = { path = "../../src/uucore/", features = ["parser"] } +uucore = { path = "../../src/uucore", features = ["parser"] } tempfile = "3.15.0" diff --git a/src/uu/chmod/Cargo.toml b/src/uu/chmod/Cargo.toml index 9049987d5..d39811d45 100644 --- a/src/uu/chmod/Cargo.toml +++ b/src/uu/chmod/Cargo.toml @@ -19,7 +19,6 @@ path = "src/chmod.rs" [dependencies] clap = { workspace = true } -libc = { workspace = true } thiserror = { workspace = true } uucore = { workspace = true, features = ["entries", "fs", "mode", "perms"] } diff --git a/src/uu/cksum/Cargo.toml b/src/uu/cksum/Cargo.toml index c49288aa9..8180a5f4d 100644 --- a/src/uu/cksum/Cargo.toml +++ b/src/uu/cksum/Cargo.toml @@ -21,7 +21,6 @@ path = "src/cksum.rs" clap = { workspace = true } uucore = { workspace = true, features = ["checksum", "encoding", "sum"] } hex = { workspace = true } -regex = { workspace = true } [[bin]] name = "cksum" diff --git a/src/uu/factor/Cargo.toml b/src/uu/factor/Cargo.toml index 2bc850250..2fb879df4 100644 --- a/src/uu/factor/Cargo.toml +++ b/src/uu/factor/Cargo.toml @@ -20,8 +20,6 @@ num-traits = { workspace = true } # used in src/numerics.rs, which is included b [dependencies] clap = { workspace = true } num-traits = { workspace = true } -rand = { workspace = true } -smallvec = { workspace = true } uucore = { workspace = true } num-bigint = { workspace = true } num-prime = { workspace = true } diff --git a/src/uu/hashsum/Cargo.toml b/src/uu/hashsum/Cargo.toml index ff1c7de1c..8a0bf9d64 100644 --- a/src/uu/hashsum/Cargo.toml +++ b/src/uu/hashsum/Cargo.toml @@ -20,9 +20,6 @@ path = "src/hashsum.rs" [dependencies] clap = { workspace = true } uucore = { workspace = true, features = ["checksum", "sum"] } -memchr = { workspace = true } -regex = { workspace = true } -hex = { workspace = true } [[bin]] name = "hashsum" diff --git a/src/uu/install/Cargo.toml b/src/uu/install/Cargo.toml index a715902cb..120ab7dda 100644 --- a/src/uu/install/Cargo.toml +++ b/src/uu/install/Cargo.toml @@ -21,7 +21,6 @@ path = "src/install.rs" clap = { workspace = true } filetime = { workspace = true } file_diff = { workspace = true } -libc = { workspace = true } thiserror = { workspace = true } uucore = { workspace = true, features = [ "backup-control", diff --git a/src/uu/ls/Cargo.toml b/src/uu/ls/Cargo.toml index 2ce0cc3fd..fde5c698c 100644 --- a/src/uu/ls/Cargo.toml +++ b/src/uu/ls/Cargo.toml @@ -21,7 +21,6 @@ path = "src/ls.rs" [dependencies] ansi-width = { workspace = true } -chrono = { workspace = true } clap = { workspace = true, features = ["env"] } glob = { workspace = true } hostname = { workspace = true } @@ -31,7 +30,6 @@ jiff = { workspace = true, features = [ "tzdb-concatenated", ] } lscolors = { workspace = true } -number_prefix = { workspace = true } selinux = { workspace = true, optional = true } terminal_size = { workspace = true } thiserror = { workspace = true } diff --git a/src/uu/more/Cargo.toml b/src/uu/more/Cargo.toml index 63de2ce91..e991b3762 100644 --- a/src/uu/more/Cargo.toml +++ b/src/uu/more/Cargo.toml @@ -21,8 +21,6 @@ path = "src/more.rs" clap = { workspace = true } uucore = { workspace = true } crossterm = { workspace = true } -unicode-width = { workspace = true } -unicode-segmentation = { workspace = true } [target.'cfg(all(unix, not(target_os = "fuchsia")))'.dependencies] nix = { workspace = true } diff --git a/src/uu/sync/Cargo.toml b/src/uu/sync/Cargo.toml index dc6d87434..03ca7ff2e 100644 --- a/src/uu/sync/Cargo.toml +++ b/src/uu/sync/Cargo.toml @@ -19,7 +19,6 @@ path = "src/sync.rs" [dependencies] clap = { workspace = true } -libc = { workspace = true } uucore = { workspace = true, features = ["wide"] } [target.'cfg(unix)'.dependencies] diff --git a/src/uucore/Cargo.toml b/src/uucore/Cargo.toml index 6a93ffdda..6ff74992c 100644 --- a/src/uucore/Cargo.toml +++ b/src/uucore/Cargo.toml @@ -55,13 +55,11 @@ blake2b_simd = { workspace = true, optional = true } blake3 = { workspace = true, optional = true } sm3 = { workspace = true, optional = true } crc32fast = { workspace = true, optional = true } -regex = { workspace = true, optional = true } bigdecimal = { workspace = true, optional = true } num-traits = { workspace = true, optional = true } selinux = { workspace = true, optional = true } # Fluent dependencies -fluent-bundle = { workspace = true } fluent = { workspace = true } fluent-syntax = { workspace = true } unic-langid = { workspace = true } diff --git a/tests/benches/factor/Cargo.toml b/tests/benches/factor/Cargo.toml index e7397f7fa..30d4cc8b1 100644 --- a/tests/benches/factor/Cargo.toml +++ b/tests/benches/factor/Cargo.toml @@ -8,18 +8,12 @@ homepage.workspace = true license.workspace = true publish = false -[dependencies] -uu_factor = { path = "../../../src/uu/factor" } - [dev-dependencies] array-init = "2.0.0" criterion = "0.6.0" rand = "0.9.1" rand_chacha = "0.9.0" -num-bigint = "0.4.4" num-prime = "0.4.4" -num-traits = "0.2.18" - [[bench]] name = "table" diff --git a/tests/uutests/Cargo.toml b/tests/uutests/Cargo.toml index 45c080a34..a6a0899ed 100644 --- a/tests/uutests/Cargo.toml +++ b/tests/uutests/Cargo.toml @@ -19,13 +19,11 @@ all-features = true path = "src/lib/lib.rs" [dependencies] -glob = { workspace = true } libc = { workspace = true } pretty_assertions = "1.4.0" rand = { workspace = true } regex = { workspace = true } tempfile = { workspace = true } -time = { workspace = true, features = ["local-offset"] } uucore = { workspace = true, features = [ "mode", "entries",