Cargo Features

[dependencies]
opentelemetry-http = { version = "0.28.0", default-features = false, features = ["hyper", "reqwest-rustls", "reqwest-rustls-webpki-roots", "internal-logs"] }
default = internal-logs

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

hyper

Enables http-body-util, hyper, hyper-util, and tokio

Affects opentelemetry-http::hyper

reqwest-rustls = reqwest

Enables rustls-tls-native-roots of reqwest

reqwest-rustls-webpki-roots = reqwest

Enables rustls-tls-webpki-roots of reqwest

internal-logs default = tracing

Enables internal-logs of opentelemetry

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.

reqwest reqwest-rustls? reqwest-rustls-webpki-roots?
tracing internal-logs