Cargo Features
[dependencies]
spirit-log = { version = "0.4.4", default-features = false, features = ["background", "with-backtrace", "cfg-help", "syslog"] }
- default = cfg-help, with-backtrace
-
These default features are set whenever
spirit-log
is added without
somewhere in the dependency tree.default-features = false - background = either, flume
-
Affects
spirit-log::background
… - with-backtrace default
-
Enables with-backtrace of log-panics
- cfg-help default = structdoc
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.
- either background?
- flume background?
-
Enables flume ^0.10
- structdoc cfg-help
- syslog implicit feature
-
Enables syslog ~5
syslog:
Syslog message formatter and writer, supporting unix sockets, UDP and TCP exporters
Affects
spirit-log::SyslogError
…