Remove dependency on atty and use std::io::IsTerminal instead

This commit is contained in:
Lena authored and David Peter committed 2023-10-18 20:54:12 +02:00
1 parent 769652353a
commit 69ee1738d4
3 files changed
+3 -26

No files matched your search

Generated
+1 -22
View File
@@ -117,17 +117,6 @@ dependencies = [
"wait-timeout",
]
[[package]]
name = "atty"
version = "0.2.14"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d9b39be18770d11421cdb1b9947a45dd3f37e93092cbf377614828a319d5fee8"
dependencies = [
"hermit-abi 0.1.19",
"libc",
"winapi",
]
[[package]]
name = "autocfg"
version = "0.1.8"
@@ -464,15 +453,6 @@ dependencies = [
"ahash 0.8.3",
]
[[package]]
name = "hermit-abi"
version = "0.1.19"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "62b467343b94ba476dcb2500d242dadbb39557df889310ac77c5d99100aaac33"
dependencies = [
"libc",
]
[[package]]
name = "hermit-abi"
version = "0.3.3"
@@ -486,7 +466,6 @@ dependencies = [
"anyhow",
"approx",
"assert_cmd",
"atty",
"clap",
"clap_complete",
"colored",
@@ -535,7 +514,7 @@ version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
dependencies = [
"hermit-abi 0.3.3",
"hermit-abi",
"rustix",
"windows-sys 0.48.0",
]