diff --git a/Cargo.lock b/Cargo.lock index 066dc3f0..9b86ed4c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4066,9 +4066,9 @@ checksum = "e421abadd41a4225275504ea4d6566923418b7f05506fbc9c0fe86ba7396114b" [[package]] name = "tun" -version = "0.7.22" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7904c94104239657089d14bccbf23fd6d363e30639ce49af21ef008a445baf97" +checksum = "02d9cf8ce7136641f540a6abc3063d6bbba907f7c90e2cc2be3f17915166d760" dependencies = [ "bytes", "cfg-if", @@ -4368,7 +4368,7 @@ version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "cf221c93e13a30d793f7645a0e7762c55d169dbb0a49671918a2319d289b10bb" dependencies = [ - "windows-sys 0.48.0", + "windows-sys 0.59.0", ] [[package]] diff --git a/crates/shadowsocks-service/Cargo.toml b/crates/shadowsocks-service/Cargo.toml index 50352d70..b962e816 100644 --- a/crates/shadowsocks-service/Cargo.toml +++ b/crates/shadowsocks-service/Cargo.toml @@ -206,7 +206,7 @@ nix = { version = "0.30", features = ["ioctl"] } windows-sys = { version = "0.59", features = ["Win32_Networking_WinSock"] } [target.'cfg(any(target_os = "ios", target_os = "macos", target_os = "linux", target_os = "android", target_os = "windows", target_os = "freebsd"))'.dependencies] -tun = { version = "0.7", optional = true, features = ["async"] } +tun = { version = "0.8", optional = true, features = ["async"] } [dev-dependencies] byteorder = "1.5"