[package]
name = "rust-proxy"
version = "0.1.0"
edition = "2024"
description = "A simple HTTP/HTTPS proxy server written in Rust"
authors = ["tan <c3qu@qq.com>"]
license = "MIT OR Apache-2.0"
readme = "README.md"
homepage = "https://github.com/yourusername/rust-proxy"
repository = "https://github.com/yourusername/rust-proxy"
keywords = ["proxy", "http", "https", "server", "network"]
categories = ["network-programming", "web-programming::http-server"]
include = [
"src/**/*",
"Cargo.toml",
"README.md",
"LICENSE*",
"CHANGELOG.md",
"examples/**/*",
"config.example.toml"
]
[dependencies]
tokio = { version = "1.0", features = ["full"] }
hyper = "1.0"
hyper-util = { version = "0.1", features = ["full"] }
http = "1.0"
tracing = "0.1"
tracing-subscriber = "0.3"
clap = { version = "4.0", features = ["derive"] }
rustls = "0.23"
tokio-rustls = "0.26"
webpki = "0.22"
webpki-roots = "0.26"
rcgen = "0.13"
pem = "3.0"
[[bin]]
name = "simple_proxy"
path = "src/simple_proxy.rs"
[[bin]]
name = "https_proxy"
path = "src/https_proxy.rs"