Cargo Features

which has no features set by default.

[dependencies]
which = { version = "7.0.0", features = ["regex", "tracing"] }
regex

Enables regex

Affects which::which_re, which::which_re_in

tracing

Enables tracing