1[package]
2name = "which"
3version = "4.4.2"
4edition = "2021"
5rust-version = "1.63"
6authors = ["Harry Fei <tiziyuanfang@gmail.com>"]
7repository = "https://github.com/harryfei/which-rs.git"
8documentation = "https://docs.rs/which/"
9license = "MIT"
10description = "A Rust equivalent of Unix command \"which\". Locate installed executable in cross platforms."
11readme = "README.md"
12categories = ["os", "filesystem"]
13keywords = ["which", "which-rs", "unix", "command"]
14
15[dependencies]
16either = "1.6.1"
17regex = { version = "1.5.5", optional = true }
18rustix = { version = "0.38.10", default-features = false, features = ["fs", "std"] }
19
20[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
21home = "0.5.5"
22
23[target.'cfg(windows)'.dependencies]
24once_cell = "1"
25
26[dev-dependencies]
27tempfile = "3.3.0"
28
29[package.metadata.docs.rs]
30all-features = true
31