[package] name = "rustix-is-terminal" version = "0.4.11" authors = [ "softprops ", "Dan Gohman " ] description = "Test whether a given stream is a terminal, using rustix" documentation = "https://docs.rs/rustix-is-terminal" repository = "https://github.com/sunfishcode/rustix-is-terminal" keywords = ["terminal", "tty", "isatty"] categories = ["command-line-interface"] license = "MIT" edition = "2021" include = ["src", "build.rs", "Cargo.toml", "COPYRIGHT", "LICENSE*", "/*.md"] rust-version = "1.63" [target.'cfg(not(any(windows, target_os = "hermit", target_os = "unknown")))'.dependencies] rustix = { version = "0.38.0", default-features = false, features = ["termios"] } [target.'cfg(target_os = "hermit")'.dependencies] hermit-abi = "0.3.0" [target.'cfg(windows)'.dependencies.windows-sys] version = "0.52.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] 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" [features] default = ["std"] std = ["rustix/std"]