]> code.octet-stream.net Git - netwatcher/blob - Cargo.toml
Don't include "down" interfaces on Windows
[netwatcher] / Cargo.toml
1 [package]
2 name = "netwatcher"
3 version = "0.1.0"
4 edition = "2021"
5
6 [dependencies]
7
8 [target.'cfg(target_vendor = "apple")'.dependencies]
9 nix = { version = "0.29.0", features = ["net"] }
10 block2 = "0.5.1"
11
12 [target.'cfg(windows)'.dependencies.windows]
13 version = "0.56.0"
14 features = [
15 "Win32_NetworkManagement_IpHelper",
16 "Win32_NetworkManagement_Ndis",
17 "Win32_Networking_WinSock",
18 ]