Cargo Features
[dependencies]
bin_common = { version = "0.2.0", default-features = false, features = ["log_rotation", "panic_handler"] }
- default = log_rotation, panic_handler
-
These default features are set whenever
bin_common
is added without
somewhere in the dependency tree.default-features = false - log_rotation default = xz2
- panic_handler default = backtrace
-
Affects
logging::logging_panic_handler
…
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.