Cargo Features

[dependencies]
ts_opentelemetry_api = { version = "0.20.0-beta.1", default-features = false, features = ["trace", "metrics", "logs", "testing"] }
default = trace

The trace feature is set by default whenever ts_opentelemetry_api is added without default-features = false somewhere in the dependency tree.

trace default testing? = pin-project-lite

Affects ts_opentelemetry_api::trace, ts_opentelemetry_api::time

metrics

Affects ts_opentelemetry_api::metrics, ts_opentelemetry_api::time

logs

Affects ts_opentelemetry_api::logs

testing = trace

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.

pin-project-lite trace