diff --git a/Cargo.lock b/Cargo.lock index 8c565fcedef0..44328e40b0b9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2973,6 +2973,12 @@ dependencies = [ "untrusted 0.9.0", ] +[[package]] +name = "rustversion" +version = "1.0.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "955d28af4278de8121b7ebeb796b6a45735dc01436d898801014aced2773a3d6" + [[package]] name = "ryu" version = "1.0.18" @@ -3871,9 +3877,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tun2" -version = "2.0.5" +version = "2.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "50ff242bea1c5ceb9b6aa4918cf340a6c157e1328a2389c5353cf91049d8cf17" +checksum = "5254ad58e460ff4d17b593d32f1be9ab28c80e96eec143e6e8237018b13bcae1" dependencies = [ "bytes", "cfg-if", @@ -3883,10 +3889,11 @@ dependencies = [ "libloading", "log", "nix", + "rustversion", "thiserror", "tokio", "tokio-util", - "windows-sys 0.52.0", + "windows-sys 0.59.0", "wintun", ] diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index e69351366ab5..9ab209b95217 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -186,7 +186,7 @@ flate2 = { version = "1.0", optional = true } brotli = { version = "6.0", optional = true } zstd = { version = "0.13", optional = true } -tun2 = { version = "2.0.2", optional = true, default-features = false, features = [ +tun2 = { version = "2.0.6", optional = true, default-features = false, features = [ "async", ] } etherparse = { version = "0.15", optional = true }