-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This renames from is-terminal to rustix-is-terminal, and prepares for rustix support to live in a separate crate.
- Loading branch information
1 parent
6c8aff6
commit 1d5ebd6
Showing
3 changed files
with
23 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,22 @@ | ||
[package] | ||
name = "is-terminal" | ||
name = "rustix-is-terminal" | ||
version = "0.4.9" | ||
authors = [ | ||
"softprops <[email protected]>", | ||
"Dan Gohman <[email protected]>" | ||
] | ||
description = "Test whether a given stream is a terminal" | ||
documentation = "https://docs.rs/is-terminal" | ||
repository = "https://github.com/sunfishcode/is-terminal" | ||
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 = "2018" | ||
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", features = ["termios"] } | ||
rustix = { version = "0.38.0", default-features = false, features = ["termios"] } | ||
|
||
[target.'cfg(target_os = "hermit")'.dependencies] | ||
hermit-abi = "0.3.0" | ||
|
@@ -40,3 +40,7 @@ rustix = { version = "0.38.0", features = ["stdio"] } | |
|
||
[target.'cfg(windows)'.dev-dependencies] | ||
tempfile = "3" | ||
|
||
[features] | ||
default = ["std"] | ||
std = ["rustix/std"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters