diff --git a/Cargo.toml b/Cargo.toml index 4e3c045..cdd585f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -30,7 +30,7 @@ socks5-impl = { version = "0.5" } thiserror = "1.0" tokio = { version = "1.36", features = ["full"] } tokio-util = "0.7" -tproxy-config = { version = "2.0", features = ["log"] } +tproxy-config = { version = "3.0", features = ["log"] } trust-dns-proto = "0.23" tun2 = { version = "1.2", features = ["async"] } udp-stream = { version = "0.0", default-features = false } diff --git a/src/desktop_api.rs b/src/desktop_api.rs index 0e85803..f83a081 100644 --- a/src/desktop_api.rs +++ b/src/desktop_api.rs @@ -117,7 +117,7 @@ pub async fn desktop_run_async(args: Args, shutdown_token: tokio_util::sync::Can tproxy_args = tproxy_args.tun_name(&tun_name); } - let mut restore: Option = None; + let mut restore: Option = None; #[cfg(target_os = "linux")] {