Cargo Features
[dependencies]
names = { version = "0.14.0", default-features = false, features = ["application"] }
- default = application
-
The
application
feature is set by default whenevernames
is added without
somewhere in the dependency tree.default-features = false - application default = clap
-
Required for building the
names
CLI. Should be disabled when depending on names as a library. For example, to use as a library in a Cargo.toml:names = { version = "...", default-features = false }
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.
- clap application
-
Enables clap ^3.1.5