Download Latest Version v1.13.1 source code.tar.gz (207.7 kB)
Email in envelope

Get an email when there's a new version of async-std

Home / v1.12.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2022-06-18 737 Bytes
v1.12.0 source code.tar.gz 2022-06-18 205.4 kB
v1.12.0 source code.zip 2022-06-18 371.9 kB
Totals: 3 Items   578.1 kB 0

This release stabilizes some long-awaited APIs that help people build async interfaces and interoperate with other APIs.

Added

  • task::spawn_blocking is now stabilized. We consider it a fundamental API for bridging between blocking code and async code, and we widely use it within async-std's own implementation.
  • Add TryFrom implementations to convert TcpListener, TcpStream, UdpSocket, UnixDatagram, UnixListener, and UnixStream to their synchronous equivalents, including putting them back into blocking mode.

Changed

  • async-std no longer depends on num_cpus; it uses functionality in the standard library instead (via async-global-executor).
  • Miscellaneous documentation fixes and cleanups.
Source: README.md, updated 2022-06-18