From 258637a52ea663e832a8cb380a78d5774140c8ab Mon Sep 17 00:00:00 2001 From: ssrlive <30760636+ssrlive@users.noreply.github.com> Date: Tue, 10 Dec 2024 11:17:51 +0800 Subject: [PATCH] upgrade dependencies --- Cargo.toml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a2285cb..1f46a49 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,14 +26,16 @@ ctrlc2 = { version = "3", features = ["tokio", "termination"] } digest_auth = "0.3" dotenvy = "0.15" env_logger = "0.11" -hashlink = "0.9" +hashlink = "0.10" hickory-proto = "0.24" httparse = "1" ipstack = { version = "0.1" } log = { version = "0.4", features = ["std"] } mimalloc = { version = "0.1", default-features = false, optional = true } percent-encoding = "2" -socks5-impl = { version = "0.5" } +socks5-impl = { version = "0.6", default-features = false, features = [ + "tokio", +] } thiserror = "2" tokio = { version = "1", features = ["full"] } tokio-util = "0.7" @@ -43,6 +45,9 @@ udp-stream = { version = "0.0.12", default-features = false } unicase = "2" url = "2" +[build-dependencies] +serde_json = "1" + [target.'cfg(target_os="linux")'.dependencies] serde = { version = "1", features = ["derive"] } bincode = "1" @@ -62,9 +67,6 @@ nix = { version = "0.29", default-features = false, features = [ [target.'cfg(target_os = "windows")'.dependencies] windows-service = "0.7" -[build-dependencies] -serde_json = "1" - [[bin]] name = "tun2proxy-bin" path = "src/bin/main.rs"