windows: add features for winapi (#4663)

This commit is contained in:
Alice Ryhl
2022-05-08 21:41:15 +02:00
committed by Alice Ryhl
parent 148bea82ee
commit 7c8e552f29
+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]