tcp-proxy

Simple TCP Proxy - Rust ## Example Code ```rs fn main() { let listen = "127.0.0.1:8080"; let upstream = "127.0.0.1:8081"; tcp_proxy::new(&listen, &upstream, log); } fn log(id: usize, ip: &str, listen: &str, upstream: &str) { } ``` ## Bash ``` tcp-proxy 127.0.0.1:8080 127.0.0.1:8081 ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ Listen Upstream ```