1[package]
2name = "which"
3version = "6.0.0"
4edition = "2021"
5rust-version = "1.70"
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.9.0"
17regex = { version = "1.10.2", optional = true }
18rustix = { version = "0.38.30", default-features = false, features = ["fs", "std"] }
19
20[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
21home = "0.5.9"
22
23[target.'cfg(windows)'.dependencies]
24windows-sys = { version = "0.52", features = ["Win32_Storage_FileSystem", "Win32_Foundation"] }
25once_cell = "1"
26
27[dev-dependencies]
28tempfile = "3.9.0"
29
30[package.metadata.docs.rs]
31all-features = true
32