tokio-1.13.1

tokio-rs/tokiotokio-1.13.1Nov 17, 2021by hawkw

AI Summary

This release fixes a data race in `oneshot` channels that occurs when the channel is closed (RUSTSEC-2021-0124).

Key Highlights

  • Fixes data race between oneshot Sender and Receiver
  • Addresses RUSTSEC-2021-0124

Full Release Notes

# 1.13.1 (November 15, 2021)

This release fixes a data race when sending and receiving on a 
closed `oneshot` channel ([RUSTSEC-2021-0124]).

### Fixed

- sync: fix a data race between `oneshot::Sender::send` and awaiting a
  `oneshot::Receiver` when the oneshot has been closed (#4226)
 
[RUSTSEC-2021-0124]: https://rustsec.org/advisories/RUSTSEC-2021-0124.html