-
Notifications
You must be signed in to change notification settings - Fork 14
/
Cargo.toml
37 lines (31 loc) · 962 Bytes
/
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
[package]
name = "is-terminal"
version = "0.4.0"
authors = [
"softprops <d.tangren@gmail.com>",
"Dan Gohman <dev@sunfishcode.online>"
]
description = "Test whether a given stream is a terminal"
documentation = "http://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"]
[dependencies]
io-lifetimes = "1.0.0"
[target.'cfg(not(any(windows, target_os = "hermit")))'.dependencies]
rustix = { version = "0.36.0", features = ["termios"] }
[target.'cfg(target_os = "hermit")'.dependencies]
hermit-abi = "0.2.0"
[target.'cfg(windows)'.dependencies.windows-sys]
version = "0.42.0"
features = [
"Win32_Foundation",
"Win32_System_Console",
]
[dev-dependencies]
atty = "0.2.14"
[target.'cfg(unix)'.dev-dependencies]
libc = "0.2.110"