1 | [package]
|
2 | name = "which"
|
3 | version = "7.0.3"
|
4 | edition = "2021"
|
5 | rust-version = "1.70"
|
6 | authors = ["Harry Fei <tiziyuanfang@gmail.com>, Jacob Kiesel <jake@bitcrafters.co>" ]
|
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 | [features]
|
16 | regex = ["dep:regex" ]
|
17 | tracing = ["dep:tracing" ]
|
18 |
|
19 | [dependencies]
|
20 | either = "1.9.0"
|
21 | regex = { version = "1.10.2" , optional = true }
|
22 | tracing = { version = "0.1.40" , default-features = false, optional = true }
|
23 |
|
24 | [target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
|
25 | env_home = "0.1.0"
|
26 |
|
27 | [target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies]
|
28 | rustix = { version = "1.0.5" , default-features = false, features = ["fs" , "std" ] }
|
29 |
|
30 | [target.'cfg(windows)'.dependencies]
|
31 | winsafe = { version = "0.0.19" , features = ["kernel" ] }
|
32 |
|
33 | [dev-dependencies]
|
34 | tempfile = "3.9.0"
|
35 |
|
36 | [package.metadata.docs.rs]
|
37 | all-features = true
|
38 | |