]> code.octet-stream.net Git - netwatcher/blobdiff - Cargo.toml
Update licence in Cargo.toml
[netwatcher] / Cargo.toml
index 04dea3fa0cfb80e16680f97d7d6c3b8fc1912d78..0a9eca001a33c322a502c9f808173344ac24e951 100644 (file)
@@ -2,10 +2,24 @@
 name = "netwatcher"
 version = "0.1.0"
 edition = "2021"
+license = "MIT"
+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.windows]
+[target.'cfg(any(target_vendor = "apple", target_os = "linux", target_os = "android"))'.dependencies]
+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 = [
     "Win32_NetworkManagement_IpHelper",