github tokio-rs/tokio tokio-0.2.18
Tokio v0.2.18

latest releases: tokio-1.37.0, tokio-test-0.4.4, tokio-stream-0.1.15...
4 years ago

Fixes a regression with LocalSet that allowed !Send futures to cross threads.

This change makes LocalSet !Send. The Send implementation was accidentally added in v0.2.14. Removing the Send implementation is not considered a breaking change as it fixes a soundness bug and the implementation was accidental.

Fixes

  • task: LocalSet was incorrectly marked as Send (#2398)
  • io: correctly report WriteZero failure in write_int (#2334)

Don't miss a new tokio release

NewReleases is sending notifications on new releases.