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