]> code.octet-stream.net Git - netwatcher/blobdiff - Cargo.toml
Don't include "down" interfaces on Windows
[netwatcher] / Cargo.toml
index 2615972375a4f7a9077cd9780ec604fc6ad30ee5..a1feb3cd76b55ec25addf13197ac4698e52f430a 100644 (file)
@@ -5,8 +5,9 @@ edition = "2021"
 
 [dependencies]
 
-[target.'cfg(unix)'.dependencies]
+[target.'cfg(target_vendor = "apple")'.dependencies]
 nix = { version = "0.29.0", features = ["net"] }
+block2 = "0.5.1"
 
 [target.'cfg(windows)'.dependencies.windows]
 version = "0.56.0"