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 wheneveropentelemetry-http
is added without
somewhere in the dependency tree.default-features = false - 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.