mirror of
https://github.com/crate-ci/typos.git
synced 2024-11-25 02:20:58 -05:00
chore: Update to anstream
This commit is contained in:
parent
57502b53cc
commit
52e1743c58
3 changed files with 18 additions and 18 deletions
32
Cargo.lock
generated
32
Cargo.lock
generated
|
@ -44,6 +44,21 @@ version = "0.1.6"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299"
|
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]]
|
[[package]]
|
||||||
name = "anstyle"
|
name = "anstyle"
|
||||||
version = "0.3.1"
|
version = "0.3.1"
|
||||||
|
@ -59,21 +74,6 @@ dependencies = [
|
||||||
"utf8parse",
|
"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]]
|
[[package]]
|
||||||
name = "anstyle-wincon"
|
name = "anstyle-wincon"
|
||||||
version = "0.2.0"
|
version = "0.2.0"
|
||||||
|
@ -1648,8 +1648,8 @@ name = "typos-cli"
|
||||||
version = "1.13.25"
|
version = "1.13.25"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"ahash",
|
"ahash",
|
||||||
|
"anstream",
|
||||||
"anstyle",
|
"anstyle",
|
||||||
"anstyle-stream",
|
|
||||||
"anyhow",
|
"anyhow",
|
||||||
"assert_fs",
|
"assert_fs",
|
||||||
"atty",
|
"atty",
|
||||||
|
|
|
@ -79,7 +79,7 @@ unic-emoji-char = "0.9.0"
|
||||||
thread_local = "1.1.7"
|
thread_local = "1.1.7"
|
||||||
globset = "0.4.10"
|
globset = "0.4.10"
|
||||||
anstyle = "0.3.1"
|
anstyle = "0.3.1"
|
||||||
anstyle-stream = "0.2.0"
|
anstream = "0.2.0"
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
assert_fs = "1.0"
|
assert_fs = "1.0"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
use std::io::Write as _;
|
use std::io::Write as _;
|
||||||
use std::sync::atomic;
|
use std::sync::atomic;
|
||||||
|
|
||||||
use anstyle_stream::stdout;
|
use anstream::stdout;
|
||||||
use unicode_width::UnicodeWidthStr;
|
use unicode_width::UnicodeWidthStr;
|
||||||
|
|
||||||
use typos_cli::report::{Context, Message, Report, Typo};
|
use typos_cli::report::{Context, Message, Report, Typo};
|
||||||
|
|
Loading…
Reference in a new issue