tokio-1.34.0

tokio-rs/tokiotokio-1.34.0Nov 9, 2023by carllerche

AI Summary

This release adds Vita platform support and introduces new methods like `recv_many` for message passing channels, alongside several critical bug fixes.

Key Highlights

  • New Vita platform support added
  • Added `mpsc::Receiver::recv_many` method
  • Fixed broadcast channel link issue
  • Fixed I/O resource hang

New Features

  • Vita support
  • recv_many method
  • AIX cfg attr support
  • clear_readiness after shutdown fix
  • Integer overflow fix

Full Release Notes

### Fixed

- io: allow `clear_readiness` after io driver shutdown ([#6067])
- io: fix integer overflow in `take` ([#6080])
- io: fix I/O resource hang ([#6134])
- sync: fix `broadcast::channel` link ([#6100])

### Changed

- macros: use `::core` qualified imports instead of `::std` inside `tokio::test` macro ([#5973])

### Added

- fs: update cfg attr in `fs::read_dir` to include `aix` ([#6075])
- sync: add `mpsc::Receiver::recv_many` ([#6010])
- tokio: added vita target support ([#6094])

[#5973]: https://github.com/tokio-rs/tokio/pull/5973
[#6067]: https://github.com/tokio-rs/tokio/pull/6067
[#6080]: https://github.com/tokio-rs/tokio/pull/6080
[#6134]: https://github.com/tokio-rs/tokio/pull/6134
[#6100]: https://github.com/tokio-rs/tokio/pull/6100
[#6075]: https://github.com/tokio-rs/tokio/pull/6075
[#6010]: https://github.com/tokio-rs/tokio/pull/6010
[#6094]: https://github.com/tokio-rs/tokio/pull/6094