salvo-proxy 0.80.0

HTTP proxy support for the Salvo web server framework. Provides flexible proxy middleware for forwarding requests to upstream servers.
Documentation
[dependencies.fastrand]
version = "2"

[dependencies.futures-util]
default-features = false
version = "0.3"

[dependencies.hyper]
features = ["full", "server", "http1", "http2"]
version = "1"

[dependencies.hyper-rustls]
default-features = false
features = ["native-tokio", "rustls-native-certs", "ring", "http1", "http2", "tls12", "logging"]
optional = true
version = "0.27"

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

[dependencies.percent-encoding]
version = "2"

[dependencies.reqwest]
default-features = false
features = ["rustls-tls", "charset", "http2", "macos-system-configuration", "stream"]
optional = true
version = "0.12"

[dependencies.salvo_core]
default-features = false
version = "0.80.0"

[dependencies.tokio]
version = "1"

[dependencies.tracing]
version = "0.1"

[dev-dependencies.salvo_core]
default-features = false
features = ["http1", "server", "test"]
version = "0.80.0"

[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"

[features]
default = ["ring", "hyper-client", "unix-sock-client"]
full = ["ring", "hyper-client", "reqwest-client"]
hyper-client = ["dep:hyper-util", "dep:hyper-rustls"]
reqwest-client = ["dep:reqwest"]
ring = ["hyper-rustls/ring"]
unix-sock-client = []

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

[lints.clippy]
future_not_send = "warn"
unwrap_used = "warn"

[lints.rust]
missing_docs = "warn"
unreachable_pub = "deny"
unsafe_code = "forbid"

[lints.rustdoc]
broken_intra_doc_links = "warn"

[package]
authors = ["Chrislearn Young <chris@acroidea.com>"]
autobenches = false
autobins = false
autoexamples = false
autolib = false
autotests = false
build = false
categories = ["web-programming::http-server", "web-programming::websocket", "network-programming", "asynchronous"]
description = """
HTTP proxy support for the Salvo web server framework. Provides flexible proxy middleware
for forwarding requests to upstream servers.
"""
edition = "2024"
homepage = "https://salvo.rs"
keywords = ["http", "async", "web", "framework", "server"]
license = "MIT OR Apache-2.0"
name = "salvo-proxy"
readme = "README.md"
repository = "https://github.com/salvo-rs/salvo"
resolver = "2"
rust-version = "1.85"
version = "0.80.0"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]