mirror of
https://github.com/mailscope/kumomta.git
synced 2026-09-09 12:02:14 +00:00
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
16 lines
410 B
TOML
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"]}
|