Merge pull request #692 from epage/rename

chore: Update to anstream
This commit is contained in:
Ed Page 2023-03-16 10:31:34 -05:00 committed by GitHub
commit 0366715612
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 18 additions and 18 deletions

32
Cargo.lock generated
View file

@ -44,6 +44,21 @@ version = "0.1.6"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
[[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 0.3.3",
"is-terminal",
"utf8parse",
]
[[package]]
name = "anstyle"
version = "0.3.1"
@ -59,21 +74,6 @@ dependencies = [
"utf8parse",
]
[[package]]
name = "anstyle-stream"
version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb854bd007661547402bb1aeee4a00eda2cc9775afb43c9a5158f8706f448a2a"
dependencies = [
"anstyle",
"anstyle-parse",
"anstyle-wincon",
"concolor-override",
"concolor-query 0.3.3",
"is-terminal",
"utf8parse",
]
[[package]]
name = "anstyle-wincon"
version = "0.2.0"
@ -1648,8 +1648,8 @@ name = "typos-cli"
version = "1.13.25"
dependencies = [
"ahash",
"anstream",
"anstyle",
"anstyle-stream",
"anyhow",
"assert_fs",
"atty",

View file

@ -79,7 +79,7 @@ unic-emoji-char = "0.9.0"
thread_local = "1.1.7"
globset = "0.4.10"
anstyle = "0.3.1"
anstyle-stream = "0.2.0"
anstream = "0.2.0"
[dev-dependencies]
assert_fs = "1.0"

View file

@ -3,7 +3,7 @@
use std::io::Write as _;
use std::sync::atomic;
use anstyle_stream::stdout;
use anstream::stdout;
use unicode_width::UnicodeWidthStr;
use typos_cli::report::{Context, Message, Report, Typo};