windows: add features for winapi (#4663)

This commit is contained in:
Alice Ryhl
2022-05-08 20:14:28 +02:00
committed by GitHub
parent 938b7d6742
commit 67074c3d44
+1
View File
@@ -118,6 +118,7 @@ nix = { version = "0.24", default-features = false, features = ["fs", "socket"]
[target.'cfg(windows)'.dependencies.winapi]
version = "0.3.8"
default-features = false
features = ["std", "winsock2", "mswsock", "handleapi", "ws2ipdef", "ws2tcpip"]
optional = true
[target.'cfg(windows)'.dev-dependencies.ntapi]