# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" rust-version = "1.70" name = "opentelemetry-http" version = "0.27.0" build = false autobins = false autoexamples = false autotests = false autobenches = false description = "Helper implementations for sending HTTP requests. Uses include propagating and extracting context over http, exporting telemetry, requesting sampling strategies." homepage = "https://github.com/open-telemetry/opentelemetry-rust" readme = "README.md" keywords = [ "opentelemetry", "tracing", "context", "propagation", ] license = "Apache-2.0" repository = "https://github.com/open-telemetry/opentelemetry-rust" [lib] name = "opentelemetry_http" path = "src/lib.rs" [dependencies.async-trait] version = "0.1" [dependencies.bytes] version = "1" [dependencies.http] version = "1.1" features = ["std"] default-features = false [dependencies.http-body-util] version = "0.1" optional = true [dependencies.hyper] version = "1.3" optional = true default-features = false [dependencies.hyper-util] version = "0.1" features = [ "client-legacy", "http1", "http2", ] optional = true [dependencies.opentelemetry] version = "0.27" features = ["trace"] [dependencies.reqwest] version = "0.12" features = ["blocking"] optional = true default-features = false [dependencies.tokio] version = "1" features = ["time"] optional = true default-features = false [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", ]