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 wheneveredit
is added without
somewhere in the dependency tree.default-features = false - 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