X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/046d2240dd3665340cc92ea4639ec9296bf81714..846b618fe219c44dfc7b3a13aadace2198442c9c:/Cargo.toml?ds=sidebyside diff --git a/Cargo.toml b/Cargo.toml index 04dea3f..2615972 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,7 +5,10 @@ edition = "2021" [dependencies] -[dependencies.windows] +[target.'cfg(unix)'.dependencies] +nix = { version = "0.29.0", features = ["net"] } + +[target.'cfg(windows)'.dependencies.windows] version = "0.56.0" features = [ "Win32_NetworkManagement_IpHelper",