From 67074c3d44582c883deecd904f1e1d00329c855d Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 8 May 2022 20:14:28 +0200 Subject: [PATCH] windows: add features for winapi (#4663) --- tokio/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 1b628e84f04..24c4a83ec55 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -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]