From 327ad5425f6d9c0cab0134f421d72207c64bf925 Mon Sep 17 00:00:00 2001 From: sad Date: Fri, 4 Oct 2024 16:28:57 +0000 Subject: [PATCH] lint --- src/main.rs | 6 +----- src/mods/proxy.rs | 12 ++++++------ 2 files changed, 7 insertions(+), 11 deletions(-) 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