-
Notifications
You must be signed in to change notification settings - Fork 47
/
Cargo.toml
37 lines (30 loc) · 1.12 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[package]
name = "which"
version = "7.0.0"
edition = "2021"
rust-version = "1.70"
authors = ["Harry Fei <[email protected]>, Jacob Kiesel <[email protected]>"]
repository = "https://github.com/harryfei/which-rs.git"
documentation = "https://docs.rs/which/"
license = "MIT"
description = "A Rust equivalent of Unix command \"which\". Locate installed executable in cross platforms."
readme = "README.md"
categories = ["os", "filesystem"]
keywords = ["which", "which-rs", "unix", "command"]
[features]
regex = ["dep:regex"]
tracing = ["dep:tracing"]
[dependencies]
either = "1.9.0"
regex = { version = "1.10.2", optional = true }
tracing = { version = "0.1.40", default-features = false, optional = true }
[target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies]
home = "0.5.9"
[target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies]
rustix = { version = "0.38.30", default-features = false, features = ["fs", "std"] }
[target.'cfg(windows)'.dependencies]
winsafe = { version = "0.0.19", features = ["kernel"] }
[dev-dependencies]
tempfile = "3.9.0"
[package.metadata.docs.rs]
all-features = true