[dependencies.async-trait]
version = "0.1"
[dependencies.bytes]
version = "1"
[dependencies.http]
default-features = false
features = ["std"]
version = "1.1"
[dependencies.http-body-util]
optional = true
version = "0.1"
[dependencies.hyper]
default-features = false
optional = true
version = "1.3"
[dependencies.hyper-util]
features = ["client-legacy", "http2"]
optional = true
version = "0.1"
[dependencies.opentelemetry]
features = ["trace"]
version = "0.25"
[dependencies.reqwest]
default-features = false
features = ["blocking"]
optional = true
version = "0.12"
[dependencies.tokio]
default-features = false
features = ["time"]
optional = true
version = "~1.38.0"
[features]
hyper = ["dep:http-body-util", "dep:hyper", "dep:hyper-util", "dep:tokio"]
reqwest-rustls = ["reqwest", "reqwest/rustls-tls-native-roots"]
reqwest-rustls-webpki-roots = ["reqwest", "reqwest/rustls-tls-webpki-roots"]
[package]
description = "Helper implementations for sending HTTP requests. Uses include propagating and extracting context over http, exporting telemetry, requesting sampling strategies."
edition = "2021"
homepage = "https://github.com/open-telemetry/opentelemetry-rust"
keywords = ["opentelemetry", "tracing", "context", "propagation"]
license = "Apache-2.0"
name = "opentelemetry-http"
readme = "README.md"
repository = "https://github.com/open-telemetry/opentelemetry-rust"
rust-version = "1.65"
version = "0.25.0"