Cargo Features

[dependencies]
which = { version = "8.0.0", default-features = false, features = ["regex", "tracing", "real-sys"] }
default = real-sys

The real-sys feature is set by default whenever which is added without default-features = false somewhere in the dependency tree.

regex

Enables regex

Affects which::which_re, which::which_re_in

tracing

Enables tracing

real-sys default

Enables env_home, rustix, and winsafe ^0.0.19

Affects which::which, which::which_global, which::which_all, which::which_all_global, which::which_in, which::which_in_all, which::which_in_global, sys::RealSys, which::which_re_in