v1.12.0
This release stabilizes some long-await
ed 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 convertTcpListener
,TcpStream
,UdpSocket
,UnixDatagram
,UnixListener
, andUnixStream
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 (viaasync-global-executor
). - Miscellaneous documentation fixes and cleanups.