Cargo Features
[dependencies]
tracing-glog = { version = "0.4.0", default-features = false, features = ["ansi", "tracing-log", "time", "local-time"] }
- default = ansi
-
The
ansi
feature is set by default whenevertracing-glog
is added without
somewhere in the dependency tree.default-features = false - ansi default = nu-ansi-term
-
Enables ansi of tracing-subscriber
- tracing-log
-
Enables tracing-log
- time
-
Enables time, time of tracing-subscriber
Affects
tracing-glog::time_crate
… - local-time
-
Enables time and local-time of tracing-subscriber
tracing-subscriber:
Enables support for local time when using the
time
crate timestamp formatters.Affects
time_crate::LocalTime
…
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.
- nu-ansi-term ansi
-
Enables nu-ansi-term ^0.46