X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/846b618fe219c44dfc7b3a13aadace2198442c9c..d2c9a9f306a336aa9dd8ddfb6579746e4f10b7a4:/Cargo.toml diff --git a/Cargo.toml b/Cargo.toml index 2615972..45cff20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -5,9 +5,12 @@ edition = "2021" [dependencies] -[target.'cfg(unix)'.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] version = "0.56.0" features = [