]> code.octet-stream.net Git - netwatcher/blob - Cargo.toml
78a17e682527061e0e5a83c0c0c06cbbf1987e5b
[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 objc2 = "0.5.2"
14
15 [target.'cfg(windows)'.dependencies.windows]
16 version = "0.56.0"
17 features = [
18 "Win32_NetworkManagement_IpHelper",
19 "Win32_NetworkManagement_Ndis",
20 "Win32_Networking_WinSock",
21 ]