-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
43 lines (36 loc) · 1.19 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[package]
name = "is-terminal"
version = "0.4.13"
authors = [
"softprops <d.tangren@gmail.com>",
"Dan Gohman <dev@sunfishcode.online>"
]
description = "Test whether a given stream is a terminal"
documentation = "https://docs.rs/is-terminal"
repository = "https://github.com/sunfishcode/is-terminal"
keywords = ["terminal", "tty", "isatty"]
categories = ["command-line-interface"]
license = "MIT"
edition = "2018"
include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"]
rust-version = "1.63"
[target.'cfg(any(unix, target_os = "wasi"))'.dependencies]
libc = "0.2"
[target.'cfg(target_os = "hermit")'.dependencies]
hermit-abi = "0.4.0"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.59.0"
features = [
"Win32_Foundation",
"Win32_Storage_FileSystem",
"Win32_System_Console",
]
[dev-dependencies]
atty = "0.2.14"
[target.'cfg(any(unix, target_os = "wasi"))'.dev-dependencies]
rustix = { version = "0.38.0", features = ["termios"] }
libc = "0.2.110"
[target.'cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))'.dev-dependencies]
rustix = { version = "0.38.0", features = ["stdio"] }
[target.'cfg(windows)'.dev-dependencies]
tempfile = "3"