Cargo Features
opentelemetry-http has no features set by default.
[dependencies]
opentelemetry-http = { version = "0.27.0", features = ["hyper", "reqwest-rustls", "reqwest-rustls-webpki-roots"] }
- 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
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.