]> code.octet-stream.net Git - netwatcher/blobdiff - Cargo.toml
Support for cancelling linux watch
[netwatcher] / Cargo.toml
index a1feb3cd76b55ec25addf13197ac4698e52f430a..45cff205d21bf16c5288a7decbff325a7554d008 100644 (file)
@@ -5,8 +5,10 @@ edition = "2021"
 
 [dependencies]
 
-[target.'cfg(target_vendor = "apple")'.dependencies]
+[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"
 
 [target.'cfg(windows)'.dependencies.windows]