Files
kumomta/crates/proxy-server/Cargo.toml
T
Wez Furlong beb120fda5 Add a SOCKS5 proxy server implementation
This is a pretty tight, lightweight implementation of SOCKS5
intended to be used to facilitate an MTA asking it to bind and
connect.

It uses the splice(2) syscall to avoid kernel/userspace copies
when passing data through, so it should be quite efficient.

refs: https://github.com/KumoCorp/kumomta/issues/45
2023-05-15 17:38:17 -07:00

16 lines
410 B
TOML

[package]
name = "proxy-server"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
anyhow = "1.0"
clap = {version="4.1", features=["derive"]}
env_logger = "0.10"
libc = "0.2"
log = "0.4"
socksv5 = {version="0.3", default-features=false, features=["tokio"]}
tokio = {version="1.25", features=["full", "tracing"]}