]> code.octet-stream.net Git - netwatcher/blob - Cargo.toml
Switch to simpler MIT licence
[netwatcher] / Cargo.toml
1 [package]
2 name = "netwatcher"
3 version = "0.1.0"
4 edition = "2021"
5 license = "Apache-2.0"
6 description = "List network interfaces and watch for changes efficiently"
7 repository = "https://github.com/thombles/netwatcher"
8 readme = "README.md"
9 authors = ["Thomas Karpiniec <tom.karpiniec@outlook.com>"]
10 keywords = ["interfaces", "ip", "adapter"]
11 categories = ["network-programming"]
12
13 [dependencies]
14
15 [target.'cfg(any(target_vendor = "apple", target_os = "linux", target_os = "android"))'.dependencies]
16 nix = { version = "0.29.0", features = ["net"] }
17
18 [target.'cfg(target_vendor = "apple")'.dependencies]
19 block2 = "0.5.1"
20 objc2 = "0.5.2"
21
22 [target.'cfg(windows)'.dependencies.windows]
23 version = "0.56.0"
24 features = [
25 "Win32_NetworkManagement_IpHelper",
26 "Win32_NetworkManagement_Ndis",
27 "Win32_Networking_WinSock",
28 ]