X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/846b618fe219c44dfc7b3a13aadace2198442c9c..refs/heads/main:/Cargo.toml?ds=sidebyside diff --git a/Cargo.toml b/Cargo.toml index 2615972..0a9eca0 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,12 +2,23 @@ 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 "] +keywords = ["interfaces", "ip", "adapter"] +categories = ["network-programming"] [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"] } +[target.'cfg(target_vendor = "apple")'.dependencies] +block2 = "0.5.1" +objc2 = "0.5.2" + [target.'cfg(windows)'.dependencies.windows] version = "0.56.0" features = [