diff --git a/Cargo.lock b/Cargo.lock index 5fca20a7118..d60bfa0b292 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -61,23 +61,24 @@ dependencies = [ [[package]] name = "anstream" -version = "0.5.0" +version = "0.6.15" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1f58811cfac344940f1a400b6e6231ce35171f614f26439e80f8c1465c5cc0c" +checksum = "64e15c1ab1f89faffbf04a634d5e1962e9074f2741eef6d97f3c4e322426d526" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", + "is_terminal_polyfill", "utf8parse", ] [[package]] name = "anstyle" -version = "1.0.0" +version = "1.0.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "41ed9a86bf92ae6580e0a31281f65a1b1d867c0cc68d5346e2ae128dddfa6a7d" +checksum = "1bec1de6f59aedf83baf9ff929c98f2ad654b97c9510f4e70cf6f661d49fd5b1" [[package]] name = "anstyle-parse" @@ -99,12 +100,12 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "2.1.0" +version = "3.0.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "58f54d10c6dfa51283a066ceab3ec1ab78d13fae00aa49243a45e4571fb79dfd" +checksum = "5bf74e1b6e971609db8ca7a9ce79fd5768ab6ae46441c572e46cf596f59e57f8" dependencies = [ "anstyle", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]] @@ -326,24 +327,24 @@ dependencies = [ [[package]] name = "clap" -version = "4.4.2" +version = "4.5.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6a13b88d2c62ff462f88e4a121f17a82c1af05693a2f192b5c38d14de73c19f6" +checksum = "7be5744db7978a28d9df86a214130d106a89ce49644cbc4e3f0c22c3fba30615" dependencies = [ "clap_builder", ] [[package]] name = "clap_builder" -version = "4.4.2" +version = "4.5.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2bb9faaa7c2ef94b2743a21f5a29e6f0010dff4caa69ac8e9d6cf8b6fa74da08" +checksum = "a5fbc17d3ef8278f55b282b2a2e75ae6f6c7d4bb70ed3d0382375104bfafdb4b" dependencies = [ "anstream", "anstyle", "clap_lex", "strsim", - "terminal_size 0.2.6", + "terminal_size 0.4.0", ] [[package]] @@ -357,9 +358,9 @@ dependencies = [ [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "1462739cb27611015575c0c11df5df7601141071f07518d56fcc1be504cbec97" [[package]] name = "clap_mangen" @@ -1248,6 +1249,12 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "is_terminal_polyfill" +version = "1.70.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7943c866cc5cd64cbc25b2e01621d07fa8eb2a1a23160ee81ce38704e97b8ecf" + [[package]] name = "itertools" version = "0.13.0" @@ -1379,9 +1386,9 @@ dependencies = [ [[package]] name = "lscolors" -version = "0.20.0" +version = "0.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61183da5de8ba09a58e330d55e5ea796539d8443bd00fdeb863eac39724aa4ab" +checksum = "55f5f3bc18b481c70c416920f4bb02f7df64b99dbee36d8445027042a273ab84" dependencies = [ "aho-corasick", "nu-ansi-term", @@ -1949,9 +1956,9 @@ checksum = "b833d8d034ea094b1ea68aa6d5c740e0d04bad9d16568d08ba6f76823a114316" [[package]] name = "rstest" -version = "0.23.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0a2c585be59b6b5dd66a9d2084aa1d8bd52fbdb806eafdeffb52791147862035" +checksum = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936" dependencies = [ "futures", "futures-timer", @@ -1961,9 +1968,9 @@ dependencies = [ [[package]] name = "rstest_macros" -version = "0.23.0" +version = "0.22.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "825ea780781b15345a146be27eaefb05085e337e869bff01b4306a4fd4a9ad5a" +checksum = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42" dependencies = [ "cfg-if", "glob", @@ -2228,9 +2235,9 @@ dependencies = [ [[package]] name = "strsim" -version = "0.10.0" +version = "0.11.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" +checksum = "7da8b5736845d9f2fcb837ea5d9e2628564b3b043a70948a3f0b778838c5fb4f" [[package]] name = "syn" @@ -2283,6 +2290,16 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "terminal_size" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "21bebf2b7c9e0a515f6e0f8c51dc0f8e4696391e6f1ff30379559f8365fb0df7" +dependencies = [ + "rustix 0.38.37", + "windows-sys 0.48.0", +] + [[package]] name = "terminal_size" version = "0.4.0" @@ -2885,7 +2902,7 @@ dependencies = [ "number_prefix", "once_cell", "selinux", - "terminal_size 0.4.0", + "terminal_size 0.3.0", "uucore", "uutils_term_grid", ] diff --git a/Cargo.toml b/Cargo.toml index de2dc19054d..56e0b9a7b83 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -298,7 +298,7 @@ hostname = "0.4" indicatif = "0.17.8" itertools = "0.13.0" libc = "0.2.153" -lscolors = { version = "0.20.0", default-features = false, features = [ +lscolors = { version = "0.19.0", default-features = false, features = [ "gnu_legacy", ] } memchr = "2.7.2" @@ -322,7 +322,7 @@ rand_core = "0.6.4" rayon = "1.10" redox_syscall = "0.5.1" regex = "1.10.4" -rstest = "0.23.0" +rstest = "0.22.0" rust-ini = "0.21.0" same-file = "1.0.6" self_cell = "1.0.4" @@ -331,7 +331,7 @@ signal-hook = "0.3.17" smallvec = { version = "1.13.2", features = ["union"] } tempfile = "3.10.1" uutils_term_grid = "0.6" -terminal_size = "0.4.0" +terminal_size = "0.3.0" textwrap = { version = "0.16.1", features = ["terminal_size"] } thiserror = "1.0.59" time = { version = "0.3.36" } @@ -559,17 +559,10 @@ panic = "abort" strip = true [lints.clippy] -multiple_crate_versions = "allow" -cargo_common_metadata = "allow" -uninlined_format_args = "allow" -missing_panics_doc = "allow" - -needless_pass_by_value = "warn" -semicolon_if_nothing_returned = "warn" -single_char_pattern = "warn" -explicit_iter_loop = "warn" -if_not_else = "warn" - -all = { level = "deny", priority = -1 } -cargo = { level = "warn", priority = -1 } -pedantic = { level = "deny", priority = -1 } +multiple_crate_versions = { level = "allow", priority = 1 } +cargo_common_metadata = { level = "allow", priority = 1 } +uninlined_format_args = { level = "allow", priority = 1 } +missing_panics_doc = { level = "allow", priority = 1 } +all = "deny" +cargo = "warn" +pedantic = "deny"