From 3768696d92d403d98b7d559934617890f882ec02 Mon Sep 17 00:00:00 2001 From: Alice Ryhl Date: Sat, 24 May 2025 07:27:50 -0700 Subject: [PATCH] chore: prepare Tokio v1.45.1 (#7359) --- README.md | 2 +- tokio/CHANGELOG.md | 12 ++++++++++++ tokio/Cargo.toml | 2 +- tokio/README.md | 2 +- 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 830efafb5..8e4fa0564 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.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } ``` Then, on your main.rs: diff --git a/tokio/CHANGELOG.md b/tokio/CHANGELOG.md index 2d2f94ba0..27f84c867 100644 --- a/tokio/CHANGELOG.md +++ b/tokio/CHANGELOG.md @@ -1,3 +1,15 @@ +# 1.45.1 (May 24th, 2025) + +This fixes a regression on the wasm32-unknown-unknown target, where code that +previously did not panic due to calls to `Instant::now()` started failing. This +is due to the stabilization of the first time-based metric. + +### Fixed + +- Disable time-based metrics on wasm32-unknown-unknown ([#7322]) + +[#7322]: https://github.com/tokio-rs/tokio/pull/7322 + # 1.45.0 (May 5th, 2025) ### Added diff --git a/tokio/Cargo.toml b/tokio/Cargo.toml index 44eb58d40..a8b03b906 100644 --- a/tokio/Cargo.toml +++ b/tokio/Cargo.toml @@ -6,7 +6,7 @@ name = "tokio" # - README.md # - Update CHANGELOG.md. # - Create "v1.x.y" git tag. -version = "1.45.0" +version = "1.45.1" edition = "2021" rust-version = "1.70" authors = ["Tokio Contributors "] diff --git a/tokio/README.md b/tokio/README.md index 830efafb5..8e4fa0564 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.45.0", features = ["full"] } +tokio = { version = "1.45.1", features = ["full"] } ``` Then, on your main.rs: