Releases: smol-rs/futures-lite
Releases · smol-rs/futures-lite
v2.4.0
- Add a "fuse" method that makes it so a
Future
returns Poll::Pending
forever after it returns Poll::Pending
once. (#101)
- Add a "stop_after_future" function that allows for running a
Stream
until a
Future
completes. (#103)
- Make it so
Zip
/TryZip
drop completed futures. (#106)
v2.3.0
- Add
StreamExt::drain
for draining objects from a Stream
without waiting (#70).
v2.2.0
- Relax
Unpin
bounds on io::copy
. (#87)
- Implement
size_hint
for stream::Filter
. (#88)
- Relax MSRV to 1.60. (#90)
v2.1.0
- Make it so
read_line
and other futures use a naive implementation of byte
searching unless the memchr
feature is enabled. This prevents needing to
compile the memchr
crate unless it is desired. (#77)
v2.0.1
- Remove dependency on the
waker-fn
crate. (#81)
v2.0.0
- Breaking: Expose
future::{ready, pending}
from core
instead of defining
our own. (#73)
- Breaking: The
TryZip
and Zip
combinators are modified to have a cleaner
API, where generic constraints are not necessary on the structure itself at the
cost of additional generics. (#74)
- Add a way to use racey futures on
no_std
by providing your own seed. (#75)
v1.13.0
- Unbind Debug implementations of BufReader and BufWriter. (#49)
- Add the once_future() combinator. (#59)
- Add a combinator for temporarily using an AsyncRead/AsyncWrite as Read/Write. (#62)
- Implement more methods for stream::BlockOn. (#68)