Cargo Features
[dependencies]
thag_rs = { version = "0.1.9", default-features = false, features = ["debug-logs", "nightly", "format_snippet", "env_logger", "simplelog"] }
- default = simplelog
-
The
simplelog
feature is set by default wheneverthag_rs
is added without
somewhere in the dependency tree.default-features = false - debug-logs
- nightly
- format_snippet
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.
- env_logger implicit feature
-
Enables env_logger
env_logger:
A logging implementation for
log
which is configured via an environment variableAffects
logging::configure_log
… - simplelog default