async-std v1.5.0 Release Notes
Release Date: 2020-02-03 // about 4 years ago-
๐ API Documentation
This patch includes various quality of life improvements to async-std. ๐ Including improved performance, stability, and the addition of various ๐ฏ
Clone
impls that replace the use ofArc
in many cases.โ Added
- โ Added links to various ecosystem projects from the README (#660)
- โ Added an example on
FromStream
forResult<T, E>
(#643) - โ Added
stream::pending
as "unstable" (#615) - โ Added an example of
stream::timeout
to document the error flow (#675) - ๐ฏ Implement
Clone
forDirEntry
(#682) - ๐ฏ Implement
Clone
forTcpStream
(#689)
๐ Changed
- โ Removed internal comment on
stream::Interval
(#645) - 0๏ธโฃ The "unstable" feature can now be used without requiring the "default" feature (#647)
- โ Removed unnecessary trait bound on
stream::FlatMap
(#651) - โก๏ธ Updated the "broadcaster" dependency used by "unstable" to
1.0.0
(#681) - โก๏ธ Updated
async-task
to 1.2.1 (#676) - ๐
task::block_on
now parks after a single poll, improving performance in many cases (#684) - ๐ Improved reading flow of the "client" part of the async-std tutorial (#550)
- ๐ Use
take_while
instead ofscan
inimpl
ofProduct
,Sum
andFromStream
(#667) - ๐
TcpStream::connect
no longer uses a thread from the threadpool, improving performance (#687)
๐ Fixed
- ๐ Fixed crate documentation typo (#655)
- ๐ Fixed documentation for
UdpSocket::recv
(#648) - ๐ Fixed documentation for
UdpSocket::send
(#671) - ๐ Fixed typo in stream documentation (#650)
- ๐ Fixed typo on
sync::JoinHandle
documentation (#659) - โ Removed use of
std::error::Error::description
which failed CI (#661) - Removed the use of rustfmt's unstable
format_code_in_doc_comments
option which failed CI (#685) - ๐ Fixed a code typo in the
task::sleep
example (#688)