[package]
edition = "2021"
rust-version = "1.70"
name = "which"
version = "8.0.2"
authors = ["Harry Fei <tiziyuanfang@gmail.com>, Jacob Kiesel <jake@bitcrafters.co>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = 'A Rust equivalent of Unix command "which". Locate installed executable in cross platforms.'
documentation = "https://docs.rs/which/"
readme = "README.md"
keywords = [
"which",
"which-rs",
"unix",
"command",
]
categories = [
"os",
"filesystem",
]
license = "MIT"
repository = "https://github.com/harryfei/which-rs.git"
[package.metadata.docs.rs]
all-features = true
[features]
default = ["real-sys"]
real-sys = ["dep:libc"]
regex = ["dep:regex"]
tracing = ["dep:tracing"]
[lib]
name = "which"
path = "src/lib.rs"
[[test]]
name = "basic"
path = "tests/basic.rs"
[dependencies.regex]
version = "1.10.2"
optional = true
[dependencies.tracing]
version = "0.1.40"
optional = true
default-features = false
[dev-dependencies.tempfile]
version = "3.9.0"
[target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies.libc]
version = "0.2"
optional = true