async-std v1.10.0 Release Notes
Release Date: 2021-08-25 // over 2 years ago-
๐ This release comes with an assortment of small features and fixes.
โ Added
- ๐ฏ
File
now implementsClone
so thatFile
s can be passed into closures for use inspawn_blocking
.File
's contents are already wrapped inArc
s, so the implementation ofClone
is straightforward.
task::try_current()
which returns a handle to the current task if called within the context of a task created by async-std.async_std::io
now re-exportsWriteExt
directly.
๐ Fixed
write!
now takes already written bytes into account onFile
.
Internal
TcpStream
now properly makes use of vectored IO.- The
net::*::Incoming
implementations now do less allocation.
๐ Docs
- ๐ Several docs improvements / fixes.
- ๐ฏ