# HG changeset patch # User Raphaël Gomès # Date 1730730797 -3600 # Node ID 492d167aa5084861945b0c44e50d4e955ce87505 # Parent f7b2806035a78d1bd76dd05ccb456ad297b56644 rust: update `env_logger` dependency Aside from being more up-to-date in general, this makes its own dependency on the unmaintained and now useless `atty` disappear. diff -r f7b2806035a7 -r 492d167aa508 rust/Cargo.lock --- a/rust/Cargo.lock Mon Nov 04 15:23:41 2024 +0100 +++ b/rust/Cargo.lock Mon Nov 04 15:33:17 2024 +0100 @@ -95,17 +95,6 @@ ] [[package]] -name = "atty" -version = "0.2.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8" -dependencies = [ - "hermit-abi", - "libc", - "winapi", -] - -[[package]] name = "autocfg" version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -475,16 +464,26 @@ checksum = "a357d28ed41a50f9c765dbfe56cbc04a64e53e5fc58ba79fbc34c10ef3df831f" [[package]] -name = "env_logger" -version = "0.9.3" +name = "env_filter" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" +checksum = "4f2c92ceda6ceec50f43169f9ee8424fe2db276791afde7b2cd8bc084cb376ab" dependencies = [ - "atty", + "log", + "regex", +] + +[[package]] +name = "env_logger" +version = "0.11.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e13fa619b91fb2381732789fc5de83b45675e882f66623b7d8cb4f643017018d" +dependencies = [ + "anstream", + "anstyle", + "env_filter", "humantime", "log", - "regex", - "termcolor", ] [[package]] @@ -607,15 +606,6 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea" [[package]] -name = "hermit-abi" -version = "0.1.19" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33" -dependencies = [ - "libc", -] - -[[package]] name = "hex" version = "0.4.3" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1412,15 +1402,6 @@ ] [[package]] -name = "termcolor" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06794f8f6c5c898b3275aebefa6b8a1cb24cd2c6c79397ab15774837a0bc5755" -dependencies = [ - "winapi-util", -] - -[[package]] name = "thiserror" version = "1.0.69" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1674,22 +1655,6 @@ ] [[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] name = "winapi-util" version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" @@ -1699,12 +1664,6 @@ ] [[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - -[[package]] name = "windows-core" version = "0.52.0" source = "registry+https://github.com/rust-lang/crates.io-index" diff -r f7b2806035a7 -r 492d167aa508 rust/hg-cpython/Cargo.toml --- a/rust/hg-cpython/Cargo.toml Mon Nov 04 15:23:41 2024 +0100 +++ b/rust/hg-cpython/Cargo.toml Mon Nov 04 15:33:17 2024 +0100 @@ -14,7 +14,7 @@ hg-core = { path = "../hg-core"} libc = "0.2.137" log = "0.4.17" -env_logger = "0.9.3" +env_logger = "0.11" stable_deref_trait = "1.2.0" vcsgraph = "0.2.0" logging_timer = "1.1.0" diff -r f7b2806035a7 -r 492d167aa508 rust/rhg/Cargo.toml --- a/rust/rhg/Cargo.toml Mon Nov 04 15:23:41 2024 +0100 +++ b/rust/rhg/Cargo.toml Mon Nov 04 15:33:17 2024 +0100 @@ -18,7 +18,7 @@ log = "0.4.17" logging_timer = "1.1.0" regex = "1.7.0" -env_logger = "0.9.3" +env_logger = "0.11" format-bytes = "0.3.0" shellexpand = { version = "3.1", features = ["full"]} whoami = "1.4"