windows: add features for winapi (#4663)

This commit is contained in:
Alice Ryhl 2022-05-08 20:14:28 +02:00 committed by Alice Ryhl
parent a05135a4f8
commit cf94ffc6fd

View File

@ -118,6 +118,7 @@ nix = { version = "0.23" }
[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]