[package]
name = "proxy_http"
version = "0.1.2"
edition = "2024"
license = "MulanPSL-2.0"
repository = "https://github.com/i18n-site/rust.git"
homepage = "https://github.com/i18n-site/rust/tree/dev/proxy_http"
description = "An HTTP proxy server that supports forwarding requests to upstream proxies. / 一个支持转发请求到上游代理的 HTTP 代理服务器。"
keywords = ["http", "proxy", "network", "forward", "async"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[features]
default = []
[dev-dependencies]
anyhow = "1.0.100"
log = "0.4.28"
reqwest = "0.12.23"
static_init = "1.0.4"
[dev-dependencies.log_init]
path = "../log_init"
version = "0.1.25"
[dependencies]
aok = { version = "0.1.17", path = "../aok" }
base64 = "0.22.1"
genv = { version = "0.1.16", path = "../genv" }
http-body-util = { version = "0.1.3" }
hyper = { version = "1.7.0", features = ["http1", "server"] }
hyper-util = { version = "0.1.17" }
log_init = { version = "0.1.25", path = "../log_init" }
reqwest = { version = "0.12.23", features = ["zstd", "brotli"] }
static_init = "1.0.4"
thiserror = "2.0.16"
tokio = { version = "1.47.1", features = [
"rt",
"rt-multi-thread",
"macros",
"net",
] }
xerr = { version = "0.1.16", path = "../xerr" }
[dependencies.proxy_fetch]
version = "0.1.1"
path = "../proxy_fetch"