# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "which" version = "7.0.1" authors = ["Harry Fei , Jacob Kiesel "] build = false autobins = false autoexamples = false autotests = false autobenches = false description = 'A Rust equivalent of Unix command "which". Locate installed executable in cross platforms.' documentation = "https://docs.rs/which/" readme = "README.md" keywords = [ "which", "which-rs", "unix", "command", ] categories = [ "os", "filesystem", ] license = "MIT" repository = "https://github.com/harryfei/which-rs.git" [package.metadata.docs.rs] all-features = true [lib] name = "which" path = "src/lib.rs" [[test]] name = "basic" path = "tests/basic.rs" [dependencies.either] version = "1.9.0" [dependencies.regex] version = "1.10.2" optional = true [dependencies.tracing] version = "0.1.40" optional = true default-features = false [dev-dependencies.tempfile] version = "3.9.0" [features] regex = ["dep:regex"] tracing = ["dep:tracing"] [target.'cfg(any(unix, target_os = "wasi", target_os = "redox"))'.dependencies.rustix] version = "0.38.30" features = [ "fs", "std", ] default-features = false [target.'cfg(any(windows, unix, target_os = "redox"))'.dependencies.env_home] version = "0.1.0" [target."cfg(windows)".dependencies.winsafe] version = "0.0.19" features = ["kernel"]