Use is-terminal instead

This commit is contained in:
2023-10-06 07:45:01 +00:00
committed by GitHub
parent c3d7a9023f
commit 2b0acae0cd
4 changed files with 40 additions and 38 deletions

35
Cargo.lock generated
View File

@@ -110,17 +110,6 @@ dependencies = [
"syn 2.0.37",
]
[[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 = "1.1.0"
@@ -771,15 +760,6 @@ dependencies = [
"hashbrown 0.14.1",
]
[[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"
@@ -994,6 +974,17 @@ version = "2.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "28b29a3cd74f0f4598934efe3aeba42bae0eb4680554128851ebbecb02af14e6"
[[package]]
name = "is-terminal"
version = "0.4.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cb0889898416213fab133e1d33a0e5858a48177452750691bde3666d0fdbaf8b"
dependencies = [
"hermit-abi",
"rustix",
"windows-sys 0.48.0",
]
[[package]]
name = "itertools"
version = "0.10.5"
@@ -1285,7 +1276,7 @@ version = "1.16.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4161fcb6d602d4d2081af7c3a45852d875a03dd337a6bfdd6e06407b61342a43"
dependencies = [
"hermit-abi 0.3.3",
"hermit-abi",
"libc",
]
@@ -1445,7 +1436,6 @@ dependencies = [
"RustyXML",
"anyhow",
"async-trait",
"atty",
"base64",
"bindgen",
"bytes",
@@ -1467,6 +1457,7 @@ dependencies = [
"hyper",
"indicatif",
"int-enum",
"is-terminal",
"itertools",
"json",
"lazy_static",