]> code.octet-stream.net Git - netwatcher/blob - Cargo.toml
Support for cancelling linux watch
[netwatcher] / Cargo.toml
1 [package]
2 name = "netwatcher"
3 version = "0.1.0"
4 edition = "2021"
5
6 [dependencies]
7
8 [target.'cfg(any(target_vendor = "apple", target_os = "linux"))'.dependencies]
9 nix = { version = "0.29.0", features = ["net"] }
10
11 [target.'cfg(target_vendor = "apple")'.dependencies]
12 block2 = "0.5.1"
13
14 [target.'cfg(windows)'.dependencies.windows]
15 version = "0.56.0"
16 features = [
17 "Win32_NetworkManagement_IpHelper",
18 "Win32_NetworkManagement_Ndis",
19 "Win32_Networking_WinSock",
20 ]