chore: prepare Tokio v1.45.1 (#7359)

This commit is contained in:
Alice Ryhl 2025-05-24 07:27:50 -07:00 committed by GitHub
parent 421a7b001c
commit 3768696d92
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 15 additions and 3 deletions

View File

@ -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:

View File

@ -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

View File

@ -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 <team@tokio.rs>"]

View File

@ -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: