Cargo Features
[dependencies]
logfmt_logger = { version = "0.1.1", default-features = false, features = ["env", "color"] }
- default = color, env
-
These default features are set whenever
logfmt_logger
is added without
somewhere in the dependency tree.default-features = false - env default = env_logger
-
Affects
filter::env
… - color default = termcolor
-
Affects
fmt::color
…
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.
- termcolor color
- env_logger env
-
Enables env_logger ^0.7