From a6ec69ad48b5b550de1d142a20e9ad6ee41d4ed6 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 8 May 2022 20:14:28 +0200 Subject: [PATCH 1/2] 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] From e0c4ebe4f010c2bb5e8ec8036f6690cb0689cbaa Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sun, 8 May 2022 20:19:24 +0200 Subject: [PATCH 2/2] chore: prepare Tokio v1.18.2 --- README.md | 2 +- tokio/CHANGELOG.md | 6 ++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index efff2b3bba5..a1a4b74d33d 100644 --- a/README.md +++ b/README.md @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.18.1", features = ["full"] } +tokio = { version = "1.18.2", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 72d667f9d67..ffdcaaa31a1 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,9 @@ +# 1.18.2 (May 5, 2022) + +Add missing features for the `winapi` dependency. ([#4663]) + +[#4663]: https://github.com/tokio-rs/tokio/pull/4663 + # 1.18.1 (May 2, 2022) The 1.18.0 release broke the build for targets without 64-bit atomics when diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 24c4a83ec55..cc25ae1054e 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v1.0.x" git tag. -version = "1.18.1" +version = "1.18.2" edition = "2018" rust-version = "1.49" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index efff2b3bba5..a1a4b74d33d 100644 --- a/tokio/README.md +++ b/tokio/README.md @@ -56,7 +56,7 @@ Make sure you activated the full features of the tokio crate on Cargo.toml: ```toml [dependencies] -tokio = { version = "1.18.1", features = ["full"] } +tokio = { version = "1.18.2", features = ["full"] } ``` Then, on your main.rs: