Cargo Features

[dependencies]
edit = { version = "0.1.5", default-features = false, features = ["better-path", "quoted-env"] }
default = better-path

The better-path feature is set by default whenever edit is added without default-features = false somewhere in the dependency tree.

better-path default = which
quoted-env = shell-words

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

shell-words quoted-env?
which better-path

Enables which ^4.0