1 | [package] |
2 | name = "which" |
3 | version = "4.4.2" |
4 | edition = "2021" |
5 | rust-version = "1.63" |
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.6.1" |
17 | regex = { version = "1.5.5" , optional = true } |
18 | rustix = { version = "0.38.10" , default-features = false, features = ["fs" , "std" ] } |
19 | |
20 | [target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies] |
21 | home = "0.5.5" |
22 | |
23 | [target.'cfg(windows)'.dependencies] |
24 | once_cell = "1" |
25 | |
26 | [dev-dependencies] |
27 | tempfile = "3.3.0" |
28 | |
29 | [package.metadata.docs.rs] |
30 | all-features = true |
31 | |