Cargo Features

opentelemetry_stdout has no features set by default.

[dependencies]
opentelemetry-stdout = { version = "0.2.0", features = ["trace", "metrics", "logs"] }
trace = futures-util

Enables trace of opentelemetry and opentelemetry_sdk

metrics = async-trait

Enables metrics of opentelemetry and opentelemetry_sdk

logs = async-trait, thiserror

Enables logs of opentelemetry and opentelemetry_sdk

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features.

async-trait logs? metrics?
thiserror logs?
futures-util trace?