]> code.octet-stream.net Git - netwatcher/blobdiff - Cargo.toml
Add fields to Cargo.toml
[netwatcher] / Cargo.toml
index a1feb3cd76b55ec25addf13197ac4698e52f430a..d6109a23d452796dabe3db555c9cf7ec908bd326 100644 (file)
@@ -2,12 +2,22 @@
 name = "netwatcher"
 version = "0.1.0"
 edition = "2021"
 name = "netwatcher"
 version = "0.1.0"
 edition = "2021"
+license = "Apache-2.0"
+description = "List network interfaces and watch for changes efficiently"
+repository = "https://github.com/thombles/netwatcher"
+readme = "README.md"
+authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com>"]
+keywords = ["interfaces", "ip", "adapter"]
+categories = ["network-programming"]
 
 [dependencies]
 
 
 [dependencies]
 
-[target.'cfg(target_vendor = "apple")'.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"
 block2 = "0.5.1"
+objc2 = "0.5.2"
 
 [target.'cfg(windows)'.dependencies.windows]
 version = "0.56.0"
 
 [target.'cfg(windows)'.dependencies.windows]
 version = "0.56.0"