Files
jcoffey-dev 1e7e8dfd48
ci / fork-checks (pull_request) Skipped
ci / build (pull_request) Skipped
github/ci (branch) GitHub Actions
ci / github (pull_request) Successful in 7m26s
Vendor upstream's opentelemetry-rust fork at the pinned commit
2026-10-27 22:55:35 -07:00

133 lines
2.7 KiB
TOML

# 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.75.0"
name = "opentelemetry-http"
version = "0.33.0"
build = false
autolib = 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/tree/main/opentelemetry-http"
readme = "README.md"
keywords = [
"opentelemetry",
"tracing",
"context",
"propagation",
]
license = "Apache-2.0"
repository = "https://github.com/open-telemetry/opentelemetry-rust/tree/main/opentelemetry-http"
[features]
default = ["internal-logs"]
hyper = [
"dep:http-body-util",
"dep:hyper",
"dep:hyper-util",
"dep:tokio",
]
internal-logs = ["opentelemetry/internal-logs"]
reqwest = ["dep:reqwest"]
reqwest-blocking = [
"dep:reqwest",
"reqwest/blocking",
]
reqwest-rustls = [
"dep:reqwest",
"reqwest/rustls",
]
[lib]
name = "opentelemetry_http"
path = "src/lib.rs"
bench = false
[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.33"
features = ["trace"]
default-features = false
[dependencies.reqwest]
version = "0.13.1"
optional = true
default-features = false
[dependencies.tokio]
version = "1"
features = ["time"]
optional = true
default-features = false
[dev-dependencies.futures-executor]
version = "0.3"
[dev-dependencies.tokio]
version = "1"
features = [
"rt-multi-thread",
"macros",
"net",
"io-util",
"time",
]
default-features = false
[dev-dependencies.tower-service]
version = "0.3"
[lints.clippy.all]
level = "warn"
priority = 1
[lints.rust]
edition_2024_expr_fragment_specifier = "allow"
if_let_rescope = "allow"
tail_expr_drop_order = "allow"
[lints.rust.rust_2024_compatibility]
level = "warn"
priority = -1