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