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