[package]
edition = "2024"
name = "apollo-http-client"
version = "0.3.0"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "HTTP client for Apollo platform"
readme = false
keywords = [
"apollo-platform",
"http",
"opentelemetry",
"client",
"http-client",
]
categories = ["web-programming::http-client"]
license = "Elastic-2.0"
repository = "https://github.com/apollographql/apollo-platform-rs"
resolver = "2"
[lib]
name = "apollo_http_client"
path = "src/lib.rs"
[[example]]
name = "layered_http_client"
path = "examples/layered_http_client.rs"
[[test]]
name = "alpn"
path = "tests/alpn.rs"
[[test]]
name = "h1"
path = "tests/h1.rs"
[[test]]
name = "h2"
path = "tests/h2.rs"
[[test]]
name = "proxy"
path = "tests/proxy.rs"
[[test]]
name = "request_body"
path = "tests/request_body.rs"
[[test]]
name = "spans"
path = "tests/spans.rs"
[[test]]
name = "tls"
path = "tests/tls.rs"
[[test]]
name = "unix"
path = "tests/unix.rs"
[dependencies.apollo-configuration]
version = "0.4.0"
[dependencies.apollo-errors]
version = "0.7.0"
[dependencies.apollo-http-shared]
version = "0.1.2"
[dependencies.apollo-opentelemetry]
version = "0.8.0"
features = ["tower"]
[dependencies.apollo-redaction]
version = "0.2.0"
features = ["schemars"]
[dependencies.base64]
version = "0.22"
[dependencies.bytes]
version = "1.0"
[dependencies.hex]
version = "0.4"
[dependencies.http]
version = "1.0"
[dependencies.http-body]
version = "1.0"
[dependencies.http-body-util]
version = "0.1"
[dependencies.hyper]
version = "1"
features = [
"client",
"http2",
]
[dependencies.hyper-rustls]
version = "0.27"
features = [
"native-tokio",
"http1",
"http2",
"tls12",
"aws-lc-rs",
]
default-features = false
[dependencies.hyper-util]
version = "0.1.20"
features = [
"client",
"client-legacy",
"client-pool",
"tokio",
"http1",
"http2",
]
[dependencies.log]
version = "0.4.29"
features = ["kv"]
[dependencies.opentelemetry]
version = "0.31.0"
[dependencies.opentelemetry-semantic-conventions]
version = "0.31.0"
features = ["semconv_experimental"]
[dependencies.percent-encoding]
version = "2.3.1"
[dependencies.rustls]
version = "0.23"
default-features = false
[dependencies.rustls-native-certs]
version = "0.8"
[dependencies.rustls-pki-types]
version = "1"
[dependencies.schemars]
version = "1"
[dependencies.serde]
version = "1.0"
features = ["derive"]
[dependencies.tokio]
version = "1.51"
features = [
"rt",
"rt-multi-thread",
"macros",
"sync",
"time",
"net",
]
[dependencies.tokio-rustls]
version = "0.26"
features = [
"tls12",
"aws-lc-rs",
]
default-features = false
[dependencies.tokio-util]
version = "0.7"
[dependencies.tower]
version = "0.5"
features = [
"util",
"util",
]
[dependencies.tower-http]
version = "0.6"
features = [
"util",
"set-header",
]
[dependencies.url]
version = "2.5.8"
[dev-dependencies.apollo-configuration]
version = "0.4.0"
[dev-dependencies.apollo-opentelemetry]
version = "0.8.0"
[dev-dependencies.apollo-opentelemetry-test]
version = "0.5.0"
[dev-dependencies.axum]
version = "0.8"
[dev-dependencies.bytes]
version = "1.0"
[dev-dependencies.futures]
version = "0.3"
[dev-dependencies.http]
version = "1.0"
[dev-dependencies.http-body]
version = "1.0"
[dev-dependencies.http-body-util]
version = "0.1"
[dev-dependencies.hyper]
version = "1"
features = [
"client",
"http2",
"server",
]
[dev-dependencies.hyper-util]
version = "0.1.20"
features = [
"client",
"client-legacy",
"client-pool",
"tokio",
"http1",
"http2",
]
[dev-dependencies.indoc]
version = "2"
[dev-dependencies.insta]
version = "1.0"
features = [
"json",
"yaml",
"filters",
]
[dev-dependencies.opentelemetry_sdk]
version = "0.31.0"
features = [
"rt-tokio",
"spec_unstable_metrics_views",
]
[dev-dependencies.rcgen]
version = "0.14"
features = [
"pem",
"aws_lc_rs",
]
default-features = false
[dev-dependencies.tempfile]
version = "3"
[dev-dependencies.tokio]
version = "1.51"
features = [
"rt",
"rt-multi-thread",
"macros",
"sync",
"time",
"net",
"test-util",
"time",
]
[dev-dependencies.tower]
version = "0.5"
features = ["util"]
[dev-dependencies.tower-http]
version = "0.6.8"
features = ["follow-redirect"]