]> code.octet-stream.net Git - netwatcher/blobdiff - Cargo.toml
Add top-level docs and update README
[netwatcher] / Cargo.toml
index 2615972375a4f7a9077cd9780ec604fc6ad30ee5..f6e31258ab65310367846a636d47bfea2ca676c8 100644 (file)
@@ -5,9 +5,13 @@ edition = "2021"
 
 [dependencies]
 
 
 [dependencies]
 
-[target.'cfg(unix)'.dependencies]
+[target.'cfg(any(target_vendor = "apple", target_os = "linux", target_os = "android"))'.dependencies]
 nix = { version = "0.29.0", features = ["net"] }
 
 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 = [
 [target.'cfg(windows)'.dependencies.windows]
 version = "0.56.0"
 features = [