X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/0ecc1ee8ddfdf50d813fe18794eb27ac4ec0cf56..fd5b83a034dd0cc1751ddbfe1df813fdf798b8b1:/Cargo.toml?ds=inline diff --git a/Cargo.toml b/Cargo.toml index 04dea3f..78a17e6 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,14 @@ edition = "2021" [dependencies] -[dependencies.windows] +[target.'cfg(any(target_vendor = "apple", target_os = "linux"))'.dependencies] +nix = { version = "0.29.0", features = ["net"] } + +[target.'cfg(target_vendor = "apple")'.dependencies] +block2 = "0.5.1" +objc2 = "0.5.2" + +[target.'cfg(windows)'.dependencies.windows] version = "0.56.0" features = [ "Win32_NetworkManagement_IpHelper",