which 6.0.1

A Rust equivalent of Unix command "which". Locate installed executable in cross platforms.
Documentation
[package]
name = "which"
version = "6.0.1"
edition = "2021"
rust-version = "1.70"
authors = ["Harry Fei <tiziyuanfang@gmail.com>"]
repository = "https://github.com/harryfei/which-rs.git"
documentation = "https://docs.rs/which/"
license = "MIT"
description = "A Rust equivalent of Unix command \"which\". Locate installed executable in cross platforms."
readme = "README.md"
categories = ["os", "filesystem"]
keywords = ["which", "which-rs", "unix", "command"]

[dependencies]
either = "1.9.0"
regex = { version = "1.10.2", optional = true }

[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
home = "0.5.9"

[target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies]
rustix = { version = "0.38.30", default-features = false, features = ["fs", "std"] }

[target.'cfg(windows)'.dependencies]
winsafe = { version = "0.0.19", features = ["kernel"] }

[dev-dependencies]
tempfile = "3.9.0"

[package.metadata.docs.rs]
all-features = true