diff --git a/Cargo.toml b/Cargo.toml index 9a9ba4a..a8746d9 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,27 +17,27 @@ crate-type = ["staticlib", "cdylib", "lib"] async-trait = "0.1" base64 = { version = "0.22" } chrono = "0.4" -clap = { version = "4.5", features = ["derive", "wrap_help", "color"] } -ctrlc2 = { version = "3.5", features = ["tokio", "termination"] } +clap = { version = "4", features = ["derive", "wrap_help", "color"] } +ctrlc2 = { version = "3", features = ["tokio", "termination"] } digest_auth = "0.3" dotenvy = "0.15" env_logger = "0.11" hashlink = "0.9" -httparse = "1.8" +httparse = "1" ipstack = { version = "0.0" } lazy_static = "1" log = { version = "0.4", features = ["std"] } percent-encoding = "2" socks5-impl = { version = "0.5" } -thiserror = "1.0" +thiserror = "1" tokio = { version = "1", features = ["full"] } tokio-util = "0.7" -tproxy-config = { version = "5.0.0", features = ["log"] } +tproxy-config = { version = "5", features = ["log"] } trust-dns-proto = "0.23" -tun2 = { version = "1.3", features = ["async"] } +tun2 = { version = "2", features = ["async"] } udp-stream = { version = "0.0", default-features = false } -unicase = "2.7" -url = "2.5" +unicase = "2" +url = "2" [target.'cfg(target_os="linux")'.dependencies] serde = { version = "1", features = ["derive"] } @@ -53,7 +53,7 @@ android_logger = "0.13" jni = { version = "0.21", default-features = false } [build-dependencies] -serde_json = "1.0" +serde_json = "1" [[bin]] name = "tun2proxy" diff --git a/src/desktop_api.rs b/src/desktop_api.rs index 311f272..f7c03bf 100644 --- a/src/desktop_api.rs +++ b/src/desktop_api.rs @@ -101,7 +101,7 @@ pub async fn desktop_run_async(args: Args, shutdown_token: tokio_util::sync::Can #[cfg(target_os = "windows")] tun_config.platform_config(|cfg| { - cfg.device_guid(Some(12324323423423434234_u128)); + cfg.device_guid(12324323423423434234_u128); }); #[allow(unused_variables)]