Cargo Features
[dependencies]
tracing-async2 = { version = "0.2.7", default-features = false, features = ["accumulator", "async", "span"] }
- default = accumulator, async, span
-
These default features are set whenever
tracing-async2
is added without
somewhere in the dependency tree.default-features = false - accumulator default = span
-
Affects
tracing-async2::AccumulatingLog
,tracing-async2::accumulating_layer
,tracing-async2::accumulating_layer_with_spans
… - async default = span
-
Enables tokio
Affects
tracing-async2::channel_layer
,tracing-async2::async_layer
,tracing-async2::channel_layer_with_spans
,tracing-async2::async_layer_with_spans
… - span default accumulator async
-
Enables serde and serde_json
Affects
tracing-async2::callback_layer_with_spans
,tracing-async2::CallbackLayerWithSpan
,tracing-async2::channel_layer_with_spans
,tracing-async2::async_layer_with_spans
,tracing-async2::accumulating_layer_with_spans
…