axum-reverse-proxy 1.1.0

A flexible and efficient reverse proxy implementation for Axum web applications
Documentation
[[bench]]
harness = false
name = "proxy_bench"
path = "benches/proxy_bench.rs"

[[bench]]
harness = false
name = "websocket_bench"
path = "benches/websocket_bench.rs"

[dependencies.axum]
features = ["ws"]
version = "^0.8"

[dependencies.base64]
version = "^0.21"

[dependencies.bytes]
version = "^1.5"

[dependencies.futures-util]
version = "^0.3"

[dependencies.hickory-resolver]
optional = true
version = "0.25.2"

[dependencies.http]
version = "^1.0"

[dependencies.http-body]
version = "^1.0"

[dependencies.http-body-util]
version = "^0.1"

[dependencies.hyper]
features = ["full"]
version = "^1.0"

[dependencies.hyper-rustls]
features = ["webpki-roots"]
optional = true
version = "^0.27"

[dependencies.hyper-tls]
optional = true
version = "^0.6"

[dependencies.hyper-util]
features = ["client", "client-legacy", "http1", "http2", "tokio"]
version = "^0.1"

[dependencies.native-tls]
optional = true
version = "^0.2"

[dependencies.rand]
version = "0.9.1"

[dependencies.rustls]
optional = true
version = "^0.23"

[dependencies.sha1]
version = "^0.10"

[dependencies.tokio]
features = ["full"]
version = "^1.45"

[dependencies.tokio-native-tls]
optional = true
version = "^0.3"

[dependencies.tokio-tungstenite]
version = "^0.21"

[dependencies.tower]
features = ["full"]
version = "^0.5"

[dependencies.tracing]
version = "^0.1"

[dependencies.url]
version = "^2.5"

[dev-dependencies.async-stream]
version = "^0.3"

[dev-dependencies.criterion]
features = ["async", "futures"]
version = "^0.5"

[dev-dependencies.rcgen]
version = "^0.13"

[dev-dependencies.reqwest]
features = ["json"]
version = "^0.11"

[dev-dependencies.serde_json]
version = "^1.0"

[dev-dependencies.tokio]
features = ["full", "test-util"]
version = "^1.45"

[dev-dependencies.tokio-rustls]
version = "^0.26"

[dev-dependencies.tower-http]
features = ["full"]
version = "^0.6"

[dev-dependencies.tracing-subscriber]
features = ["env-filter"]
version = "^0.3"

[[example]]
name = "balanced"
path = "examples/balanced.rs"
required-features = ["tls"]

[[example]]
name = "basic"
path = "examples/basic.rs"
required-features = ["tls"]

[[example]]
name = "benchmark_proxy"
path = "examples/benchmark_proxy.rs"

[[example]]
name = "dangerous_client"
path = "examples/dangerous_client.rs"
required-features = ["tls"]

[[example]]
name = "discoverable"
path = "examples/discoverable.rs"
required-features = ["tls"]

[[example]]
name = "dns_discovery"
path = "examples/dns_discovery.rs"
required-features = ["tls", "dns"]

[[example]]
name = "load_balancing_strategies"
path = "examples/load_balancing_strategies.rs"
required-features = ["tls"]

[[example]]
name = "nested"
path = "examples/nested.rs"
required-features = ["tls"]

[[example]]
name = "retry"
path = "examples/retry.rs"
required-features = ["tls"]

[[example]]
name = "rfc9110_compliance"
path = "examples/rfc9110_compliance.rs"

[[example]]
name = "tower_middleware"
path = "examples/tower_middleware.rs"
required-features = ["tls"]

[features]
default = ["tls"]
dns = ["hickory-resolver"]
full = ["tls", "dns"]
native-tls = ["hyper-tls", "dep:native-tls", "tokio-native-tls"]
tls = ["hyper-rustls", "rustls"]

[lib]
name = "axum_reverse_proxy"
path = "src/lib.rs"

[package]
authors = ["Tom Lubenow"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server", "network-programming"]
description = "A flexible and efficient reverse proxy implementation for Axum web applications"
documentation = "https://docs.rs/axum-reverse-proxy"
edition = "2024"
keywords = ["axum", "proxy", "reverse-proxy", "http", "web"]
license = "MIT"
name = "axum-reverse-proxy"
readme = "README.md"
repository = "https://github.com/tom-lubenow/axum-reverse-proxy"
version = "1.1.0"

[[test]]
name = "badssl_integration_test"
path = "tests/badssl_integration_test.rs"

[[test]]
name = "balanced"
path = "tests/balanced.rs"

[[test]]
name = "basic"
path = "tests/basic.rs"

[[test]]
name = "dangerous_client_test"
path = "tests/dangerous_client_test.rs"

[[test]]
name = "discoverable_integration_test"
path = "tests/discoverable_integration_test.rs"

[[test]]
name = "discoverable_proxy_test"
path = "tests/discoverable_proxy_test.rs"

[[test]]
name = "discoverable_router"
path = "tests/discoverable_router.rs"

[[test]]
name = "dns_discovery_integration"
path = "tests/dns_discovery_integration.rs"

[[test]]
name = "errors"
path = "tests/errors.rs"

[[test]]
name = "headers"
path = "tests/headers.rs"

[[test]]
name = "middleware"
path = "tests/middleware.rs"

[[test]]
name = "retry"
path = "tests/retry.rs"

[[test]]
name = "rfc9110"
path = "tests/rfc9110.rs"

[[test]]
name = "routing"
path = "tests/routing.rs"

[[test]]
name = "service"
path = "tests/service.rs"

[[test]]
name = "streaming"
path = "tests/streaming.rs"

[[test]]
name = "websocket"
path = "tests/websocket.rs"