github tokio-rs/tokio tokio-1.1.0
Tokio v1.1.0

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

Added

  • net: add try_read_buf and try_recv_buf (#3351)
  • mpsc: Add Sender::try_reserve function (#3418)
  • sync: add RwLock try_read and try_write methods (#3400)
  • io: add ReadBuf::inner_mut (#3443)

Changed

  • macros: improve select! error message (#3352)
  • io: keep track of initialized bytes in read_to_end (#3426)
  • runtime: consolidate errors for context missing (#3441)

Fixed

  • task: wake LocalSet on spawn_local (#3369)
  • sync: fix panic in broadcast::Receiver drop (#3434)

Documented

  • stream: link to new Stream wrappers in tokio-stream (#3343)
  • docs: mention that test-util feature is not enabled with full (#3397)
  • process: add documentation to process::Child fields (#3437)
  • io: clarify AsyncFd docs about changes of the inner fd (#3430)
  • net: update datagram docs on splitting (#3448)
  • time: document that Sleep is not Unpin (#3457)
  • sync: add link to PollSemaphore (#3456)
  • task: add LocalSet example (#3438)
  • sync: improve bounded mpsc documentation (#3458)

Don't miss a new tokio release

NewReleases is sending notifications on new releases.