forked from extern/nushell
39b43d1e4b
# Description Until we bump our minimal Rust version to `1.70.0` we can't use `std::io::IsTerminal`. The crate `is-terminal` (depending on `rustix` or `windows-sys`) can provide the same. Get's rid of the dependency on the outdated `atty` crate. We already transitively depend on it (e.g. through `miette`) As soon as we reach the new Rust version we can supersede this with @nibon7's #9550 Co-authored-by: nibon7 <nibon7@163.com>
35 lines
1.2 KiB
TOML
35 lines
1.2 KiB
TOML
[package]
|
|
authors = ["The Nushell Project Developers", "procs creators"]
|
|
description = "Nushell system querying"
|
|
repository = "https://github.com/nushell/nushell/tree/main/crates/nu-system"
|
|
name = "nu-system"
|
|
version = "0.82.1"
|
|
edition = "2021"
|
|
license = "MIT"
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
bench = false
|
|
|
|
[dependencies]
|
|
libc = "0.2"
|
|
log = "0.4"
|
|
|
|
[target.'cfg(target_family = "unix")'.dependencies]
|
|
nix = { version = "0.26", default-features = false, features = ["fs", "term", "process", "signal"]}
|
|
is-terminal = "0.4.8"
|
|
|
|
[target.'cfg(any(target_os = "linux", target_os = "android"))'.dependencies]
|
|
procfs = "0.15"
|
|
|
|
[target.'cfg(target_os = "macos")'.dependencies]
|
|
libproc = "0.14"
|
|
mach2 = "0.4"
|
|
|
|
[target.'cfg(target_os = "windows")'.dependencies]
|
|
chrono = "0.4"
|
|
ntapi = "0.4"
|
|
once_cell = "1.18"
|
|
winapi = { version = "0.3", features = ["tlhelp32", "fileapi", "handleapi", "ifdef", "ioapiset", "minwindef", "pdh", "psapi", "synchapi", "sysinfoapi", "winbase", "winerror", "winioctl", "winnt", "oleauto", "wbemcli", "rpcdce", "combaseapi", "objidl", "powerbase", "netioapi", "lmcons", "lmaccess", "lmapibuf", "memoryapi", "shellapi", "std", "securitybaseapi"] }
|