From 6e076ed22e56bc00863b5ae7b9cd03e6ba72a17e Mon Sep 17 00:00:00 2001 From: Florent Becart Date: Wed, 20 Mar 2024 12:49:11 +0200 Subject: [PATCH] Update dependency stderrlog to v0.6 --- Cargo.lock | 17 ++++++++++++++--- Cargo.toml | 2 +- tests/integ.rs | 4 ++-- 3 files changed, 17 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index ec7feb01..a4504c42 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -790,6 +790,17 @@ dependencies = [ "windows-sys 0.48.0", ] +[[package]] +name = "is-terminal" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f23ff5ef2b80d608d61efee834934d862cd92461afc0560dedf493e4c033738b" +dependencies = [ + "hermit-abi 0.3.3", + "libc", + "windows-sys 0.52.0", +] + [[package]] name = "itertools" version = "0.10.5" @@ -1320,12 +1331,12 @@ dependencies = [ [[package]] name = "stderrlog" -version = "0.5.4" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "69a26bbf6de627d389164afa9783739b56746c6c72c4ed16539f4ff54170327b" +checksum = "61c910772f992ab17d32d6760e167d2353f4130ed50e796752689556af07dc6b" dependencies = [ - "atty", "chrono", + "is-terminal", "log", "termcolor", "thread_local", diff --git a/Cargo.toml b/Cargo.toml index 7f8ff572..f73b5866 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -21,7 +21,7 @@ walkdir = "2" notify = "6.1.1" clap = "=3.0.0-beta.1" log = "0.4" -stderrlog = "0.5" +stderrlog = "0.6" anyhow = "1.0" regex = "1" lazy_static = "1.4.0" diff --git a/tests/integ.rs b/tests/integ.rs index 191cfce8..b893b359 100644 --- a/tests/integ.rs +++ b/tests/integ.rs @@ -192,9 +192,9 @@ fn input_failure() { .assert() .success() .stdout(contains("Executing target with uncomputable input")) - .stderr(contains("INFO - incorrect_input - Build success")) + .stderr(contains("INFO incorrect_input - Build success")) .stderr(contains( - "WARN - incorrect_input - Failed to compute state of inputs and outputs", + "WARN incorrect_input - Failed to compute state of inputs and outputs", )); }