tokio-1.45.1

tokio-rs/tokiotokio-1.45.1May 24, 2025by Darksonn

AI Summary

Tokio 1.45.1 fixes a regression on the wasm32-unknown-unknown target where `Instant::now()` calls started failing due to stabilized time-based metrics.

Key Highlights

  • Fixed regression on wasm32 target causing `Instant::now()` to panic.
  • Disabled time-based metrics on wasm32-unknown-unknown.

New Features

  • Wasm32 stability fix

Full Release Notes

# 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