Skip to content

Releases: smol-rs/futures-lite

v2.4.0

30 Oct 03:11
v2.4.0
Compare
Choose a tag to compare
  • 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

17 Mar 21:50
v2.3.0
cdf5d64
Compare
Choose a tag to compare
  • Add StreamExt::drain for draining objects from a Stream without waiting (#70).

v2.2.0

06 Jan 20:43
Compare
Choose a tag to compare
  • Relax Unpin bounds on io::copy. (#87)
  • Implement size_hint for stream::Filter. (#88)
  • Relax MSRV to 1.60. (#90)

v2.1.0

02 Dec 19:02
v2.1.0
85a3f0f
Compare
Choose a tag to compare
  • 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

06 Nov 01:22
v2.0.1
7dbe294
Compare
Choose a tag to compare
  • Remove dependency on the waker-fn crate. (#81)

v2.0.0

25 Oct 15:39
v2.0.0
c8551a3
Compare
Choose a tag to compare
  • 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

07 Apr 19:29
b6db659
Compare
Choose a tag to compare
  • 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)