v1.5.0
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 of Arc in many cases.
Added
- Added links to various ecosystem projects from the README (#660)
- Added an example on
FromStreamforResult<T, E>(#643) - Added
stream::pendingas "unstable" (#615) - Added an example of
stream::timeoutto document the error flow (#675) - Implement
CloneforDirEntry(#682) - Implement
CloneforTcpStream(#689)
Changed
- Removed internal comment on
stream::Interval(#645) - 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-taskto 1.2.1 (#676) task::block_onnow 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_whileinstead ofscaninimplofProduct,SumandFromStream(#667) TcpStream::connectno 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::JoinHandledocumentation (#659) - Removed use of
std::error::Error::descriptionwhich failed CI (#661) - Removed the use of rustfmt's unstable
format_code_in_doc_commentsoption which failed CI (#685) - Fixed a code typo in the
task::sleepexample (#688)