Skip to content

Commit

Permalink
windows: add features for winapi (#4663)
Browse files Browse the repository at this point in the history
  • Loading branch information
Darksonn committed May 8, 2022
1 parent 148bea8 commit a6ec69a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tokio/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit a6ec69a

Please sign in to comment.