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