Cargo Features
[dependencies]
simple_logger = { version = "5.0.0", default-features = false, features = ["colors", "threads", "timestamps", "stderr"] }
- default = colors, timestamps
-
These default features are set whenever
simple_logger
is added without
somewhere in the dependency tree.default-features = false - colors default = colored
-
Affects
simple_logger::set_up_windows_color_terminal
… - threads
- timestamps default = time
-
Affects
simple_logger::init_utc
… - nightly stderr
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.