From 5b9237dfa334444d4d87c140b52489a19b3d46f6 Mon Sep 17 00:00:00 2001 From: Marcel Kummer Date: Mon, 27 Nov 2023 20:53:35 +0100 Subject: [PATCH] Update env_logger --- Cargo.lock | 19 +++++++++++++++---- escl-scan-cli/Cargo.toml | 2 +- 2 files changed, 16 insertions(+), 5 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 0271421..49b8c25 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -451,12 +451,12 @@ dependencies = [ [[package]] name = "env_logger" -version = "0.9.3" +version = "0.10.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a12e6657c4c97ebab115a42dcee77225f7f482cdd841cf7088c657a42e9e00e7" +checksum = "95b3f3e67048839cb0d0781f445682a35113da7121f7c949db0e2be96a4fbece" dependencies = [ - "atty", "humantime 2.1.0", + "is-terminal", "log", "regex", "termcolor", @@ -494,7 +494,7 @@ name = "escl-scan-cli" version = "0.1.4" dependencies = [ "clap 4.4.8", - "env_logger 0.9.3", + "env_logger 0.10.1", "escl-scan", "log", ] @@ -768,6 +768,17 @@ version = "2.9.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +[[package]] +name = "is-terminal" +version = "0.4.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b" +dependencies = [ + "hermit-abi 0.3.3", + "rustix", + "windows-sys", +] + [[package]] name = "itoa" version = "1.0.9" diff --git a/escl-scan-cli/Cargo.toml b/escl-scan-cli/Cargo.toml index be5078f..d617711 100644 --- a/escl-scan-cli/Cargo.toml +++ b/escl-scan-cli/Cargo.toml @@ -17,6 +17,6 @@ edition = "2021" [dependencies] clap = { version = "4.4.*", features = ["derive"] } -env_logger = "0.9.*" +env_logger = "0.10.*" log = "0.4.*" scan = { package="escl-scan", path="../escl-scan" }