diff --git a/3rd/if-watch/Cargo.toml b/3rd/if-watch/Cargo.toml index 94584e3c..455f9f5c 100644 --- a/3rd/if-watch/Cargo.toml +++ b/3rd/if-watch/Cargo.toml @@ -27,18 +27,18 @@ rtnetlink = { version = "0.10.0", default-features = false } [target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies] core-foundation = "0.9.2" -if-addrs = "0.10.0" +if-addrs = "0.13.3" system-configuration = "0.6.0" tokio = { version = "1.21.2", features = ["rt"], optional = true } smol = { version = "1.2.5", optional = true } [target.'cfg(target_os = "windows")'.dependencies] -if-addrs = "0.10.0" +if-addrs = "0.13.3" windows = { version = "0.51.0", features = ["Win32_NetworkManagement_IpHelper", "Win32_Foundation", "Win32_NetworkManagement_Ndis", "Win32_Networking_WinSock"] } [target.'cfg(not(any(target_os = "ios", target_os = "linux", target_os = "macos", target_os = "windows")))'.dependencies] async-io = "2.0.0" -if-addrs = "0.10.0" +if-addrs = "0.13.3" [dev-dependencies] env_logger = "0.11.5" diff --git a/Cargo.lock b/Cargo.lock index 720215f7..f7cc03b6 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2882,12 +2882,12 @@ dependencies = [ [[package]] name = "if-addrs" -version = "0.10.2" +version = "0.13.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cabb0019d51a643781ff15c9c8a3e5dedc365c47211270f4e8f82812fedd8f0a" +checksum = "a78a89907582615b19f6f0da1af18abf6ff08be259395669b834b057a7ee92d8" dependencies = [ "libc", - "windows-sys 0.48.0", + "windows-sys 0.52.0", ] [[package]]