Crate features / opentelemetry-http
Feature flags · opentelemetry-http 0.33.1 · from crates.io 2026-10-24
opentelemetry-http features: what each one does, and the line to copy
Short answeropentelemetry-http 0.33.1 has 5 features. By default it turns on internal-logs; add default-features = false to start from nothing. It needs Rust 1.75.0 or newer.
Pick features
Every feature
| Feature | In default | Turns on |
|---|---|---|
hyper | dep:http-body-util, dep:hyper, dep:hyper-util, dep:tokio | |
internal-logs | yes | opentelemetry/internal-logs |
reqwest | dep:reqwest | |
reqwest-blocking | dep:reqwest, reqwest/blocking | |
reqwest-rustls | dep:reqwest, reqwest/rustls |
dep:x turns on the optional dependency x; x/y turns on feature y of dependency x (with ?, only if x is already on).
MSRV history
The minimum Rust version opentelemetry-http declares (rust-version), and the release that changed it:
- 0.7.0 (2022-09-13): Rust 1.56
- 0.8.0 (2023-03-26): Rust 1.60
- 0.10.0 (2023-11-06): Rust 1.65
- 0.27.0 (2024-11-12): Rust 1.70
- 0.28.0 (2025-02-10): Rust 1.75.0
Stuck on an older compiler? Pin the last version that supports it, for example cargo update -p opentelemetry-http --precise <version>, or use resolver 3, which picks compatible versions for you.
More on opentelemetry-http
Real downloads, dependents and alternatives: opentelemetry-http crate data (515.3K real downloads a day, 125 dependents).
docs.rs feature list · crates.io · license Apache-2.0 · edition 2021
Up next
Before you depend on itopentelemetry-http crate dataReal downloads, dependents, alternatives.Read it next →Did this answer your question?