diff --git a/src/main.rs b/src/main.rs index 879d836..f89fa99 100644 --- a/src/main.rs +++ b/src/main.rs @@ -3,13 +3,9 @@ use serde::Deserialize; use std::fs; use std::sync::atomic::{AtomicBool, Ordering}; use tokio::io::{ - split, AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, BufReader, + AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt, }; use tokio::net::TcpStream; -use tokio::sync::mpsc; -use tokio_native_tls::native_tls::TlsConnector as NTlsConnector; -use tokio_native_tls::TlsConnector; -use tokio_socks::tcp::Socks5Stream; #[derive(Deserialize, Clone)] struct Config { diff --git a/src/mods/proxy.rs b/src/mods/proxy.rs index ae25f12..b293d3e 100644 --- a/src/mods/proxy.rs +++ b/src/mods/proxy.rs @@ -16,20 +16,20 @@ pub async fn proxy_exec(config: &Config) -> Result