diff --git a/Cargo.lock b/Cargo.lock index bd7f153..e8ef296 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,6 +2,21 @@ # It is not intended for manual editing. version = 3 +[[package]] +name = "anstream" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fd0982309face56a044e935a18bbffcddeb1ce72e69a3ecc3bafb56d4e959f37" +dependencies = [ + "anstyle", + "anstyle-parse", + "anstyle-wincon", + "concolor-override", + "concolor-query", + "is-terminal", + "utf8parse", +] + [[package]] name = "anstyle" version = "0.3.1" @@ -17,21 +32,6 @@ dependencies = [ "utf8parse", ] -[[package]] -name = "anstyle-stream" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e72365ef034ed9e365d226f6194ae7afa8a7bedc70ca8ea00668b3cddd42fd2a" -dependencies = [ - "anstyle", - "anstyle-parse", - "anstyle-wincon", - "concolor-override", - "concolor-query", - "is-terminal", - "utf8parse", -] - [[package]] name = "anstyle-wincon" version = "0.2.0" @@ -46,8 +46,8 @@ dependencies = [ name = "assert_cmd" version = "2.0.9" dependencies = [ + "anstream", "anstyle", - "anstyle-stream", "bstr", "doc-comment", "escargot", diff --git a/Cargo.toml b/Cargo.toml index 1fddd54..c867ba0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,7 +32,7 @@ pre-release-replacements = [ ] [features] -color = ["dep:anstyle-stream", "predicates/color"] +color = ["dep:anstream", "predicates/color"] color-auto = ["color"] [[bin]] @@ -45,7 +45,7 @@ predicates-tree = "1.0.1" doc-comment = "0.3" wait-timeout = "0.2.0" bstr = "1.0.1" -anstyle-stream = { version = "0.2.1", optional = true } +anstream = { version = "0.2.2", optional = true } anstyle = "0.3.1" [dev-dependencies] diff --git a/src/assert.rs b/src/assert.rs index b167587..1779a70 100644 --- a/src/assert.rs +++ b/src/assert.rs @@ -7,7 +7,7 @@ use std::process; use std::str; #[cfg(feature = "color")] -use anstyle_stream::panic; +use anstream::panic; use predicates::str::PredicateStrExt; use predicates_tree::CaseTreeExt;