Cargo Features

[dependencies]
opentelemetry-journald-logs-unofficial = { version = "0.3.0", default-features = false, features = ["logs_level_enabled", "json"] }
default = logs_level_enabled

The logs_level_enabled feature is set by default whenever opentelemetry-journald-logs-unofficial is added without default-features = false somewhere in the dependency tree.

logs_level_enabled default

Enables logs_level_enabled of opentelemetry ^0.23 and opentelemetry_sdk ^0.23

json = serde, serde_json

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.

serde json?
serde_json json?