github tokio-rs/tokio tokio-1.36.0
Tokio v1.36.0

latest releases: tokio-1.41.1, tokio-1.41.0, tokio-stream-0.1.16...
9 months ago

1.36.0 (February 2nd, 2024)

Added

  • io: add tokio::io::Join (#6220)
  • io: implement AsyncWrite for Empty (#6235)
  • net: add support for anonymous unix pipes (#6127)
  • net: add UnixSocket (#6290)
  • net: expose keepalive option on TcpSocket (#6311)
  • sync: add {Receiver,UnboundedReceiver}::poll_recv_many (#6236)
  • sync: add Sender::{try_,}reserve_many (#6205)
  • sync: add watch::Receiver::mark_unchanged (#6252)
  • task: add JoinSet::try_join_next (#6280)

Changed

  • io: make copy cooperative (#6265)
  • io: make repeat and sink cooperative (#6254)
  • io: simplify check for empty slice (#6293)
  • process: use pidfd on Linux when available (#6152)
  • sync: use AtomicBool in broadcast channel future (#6298)

Documented

  • io: clarify clear_ready docs (#6304)
  • net: document that *Fd traits on TcpSocket are unix-only (#6294)
  • sync: document FIFO behavior of tokio::sync::Mutex (#6279)
  • chore: typographic improvements (#6262)
  • runtime: remove obsolete comment (#6303)
  • task: fix typo (#6261)

Don't miss a new tokio release

NewReleases is sending notifications on new releases.