[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", "tls12", "logging"]
optional = true
version = "0.27"
[dependencies.hyper-util]
default-features = true
features = ["tokio", "http1", "http2", "client-legacy"]
optional = true
version = "0.1.2"
[dependencies.percent-encoding]
version = "2"
[dependencies.reqwest]
features = ["stream"]
optional = true
version = "0.12.1"
[dependencies.salvo_core]
default-features = false
version = "0.74.0"
[dependencies.tokio]
version = "1"
[dependencies.tracing]
version = "0.1"
[dev-dependencies.salvo_core]
default-features = false
features = ["http1", "server", "test"]
version = "0.74.0"
[dev-dependencies.tokio]
features = ["macros", "rt-multi-thread"]
version = "1"
[features]
default = ["ring", "hyper-client"]
full = ["ring", "hyper-client", "reqwest-client"]
hyper-client = ["dep:hyper-util", "dep:hyper-rustls"]
reqwest-client = ["dep:reqwest"]
ring = ["hyper-rustls/ring"]
[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 <chrislearn@hotmail.com>"]
autobenches = false
autobins = false
autoexamples = false
autotests = false
build = false
categories = ["web-programming::http-server", "web-programming::websocket", "network-programming", "asynchronous"]
description = """
TBD: Proxy support for salvo web server framework.
"""
edition = "2021"
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"
version = "0.74.0"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]