From 614fe357fc4a91bc6d1c904fbbfe3c5959f690f6 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Mon, 27 Mar 2023 22:45:54 +0200 Subject: [PATCH] chore: prepare tokio-macros v2.0.0 (#5580) --- tokio-macros/CHANGELOG.md | 15 +++++++++++++++ tokio-macros/Cargo.toml | 2 +- tokio/Cargo.toml | 2 +- 3 files changed, 17 insertions(+), 2 deletions(-) diff --git a/tokio-macros/CHANGELOG.md b/tokio-macros/CHANGELOG.md index 93d52e739de..2acf402a24b 100644 --- a/tokio-macros/CHANGELOG.md +++ b/tokio-macros/CHANGELOG.md @@ -1,3 +1,18 @@ +# 2.0.0 (March 24th, 2023) + +This major release updates the dependency on the syn crate to 2.0.0, and +increases the MSRV to 1.56. + +As part of this release, we are adopting a policy of depending on a specific minor +release of tokio-macros. This prevents Tokio from being able to pull in many different +versions of tokio-macros. + +- macros: update `syn` ([#5572]) +- macros: accept path as crate rename ([#5557]) + +[#5572]: https://github.com/tokio-rs/tokio/pull/5572 +[#5557]: https://github.com/tokio-rs/tokio/pull/5557 + # 1.8.2 (November 30th, 2022) - fix a regression introduced in 1.8.1 ([#5244]) diff --git a/tokio-macros/Cargo.toml b/tokio-macros/Cargo.toml index bec401c08a0..291da3c8836 100644 --- a/tokio-macros/Cargo.toml +++ b/tokio-macros/Cargo.toml @@ -4,7 +4,7 @@ name = "tokio-macros" # - Remove path dependencies # - Update CHANGELOG.md. # - Create "tokio-macros-1.x.y" git tag. -version = "1.8.2" +version = "2.0.0" edition = "2018" rust-version = "1.56" authors = ["Tokio Contributors "] diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 450a59cc425..632ae0518de 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -97,7 +97,7 @@ stats = [] autocfg = "1.1" [dependencies] -tokio-macros = { version = "1.7.0", path = "../tokio-macros", optional = true } +tokio-macros = { version = "~2.0.0", path = "../tokio-macros", optional = true } pin-project-lite = "0.2.0"