Cargo Features
json-subscriber has no features set by default.
[dependencies]
json-subscriber = { version = "0.2.4", features = ["tracing-log", "env-filter", "opentelemetry", "lazy_static"] }
- tracing-log
-
Enables tracing-log, tracing-log of tracing-subscriber
- env-filter
-
Enables env-filter of tracing-subscriber
- opentelemetry
-
Enables tracing-opentelemetry ^0.25.0
OpenTelemetry
and async-trait and opentelemetry ^0.24.0
async-trait:
OpenTelemetry depends on this but with a version such that minimal versions are broken. We do not use this.
Features from optional dependencies
- lazy_static implicit feature
-
Enables lazy_static
Another dependency that needs to have higher version to compile