Cargo Features
[dependencies]
fixred = { version = "1.1.3", default-features = false, features = ["executable"] }
- default = executable
-
The
executable
feature is set by default wheneverfixred
is added without
somewhere in the dependency tree.default-features = false - executable default = clap, env_logger
-
Required by the binary
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 executable
-
Enables clap ^3.0.0-beta
- env_logger executable
-
Enables env_logger ^0.9