X-Git-Url: https://code.octet-stream.net/netwatcher/blobdiff_plain/0fdfcccec1a2e6cbd70ec47a57a255fbe1e285e0..7cbddf0b21f7cf98b46c66a430eb8221f3622d55:/Cargo.toml?ds=inline diff --git a/Cargo.toml b/Cargo.toml index a1feb3c..45cff20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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]