PackageTrack
Sign in Get early access

tokio-stream

Utilities to work with `Stream` and `tokio`.

0.1.19 436M downloads/mo #263 most downloaded on crates.io tokio-rs/tokio

What this package is like to depend on

Last release 1 months ago

22 Jul 2026

Ships fairly regularly

a new release about every 4 months

Nearly every release is documented

notes for 19 of 20 stable releases

1 version withdrawn

withdrawn after publishing

6 years old

21 releases · first in 2020

2 releases in the last 12 months

see the full history below

Release timeline

21 releases · Dec 2020 to Jul 2026
2021 2022 2023 2024 2025 2026
Release Pre-release Withdrawn

Releases

latest 21
  1. 0.1.19 22 Jul 2026
    Release notes

    chore: prepare tokio-stream v0.1.19 (#8310)

    Open source →
    Release notes

    Added

    • stream: implement FromStream for standard collections (#7954, #7966)
    • stream: implement FusedStream for various stream adaptors (#7854, #8090, #8096)
    • stream: implement Peekable::size_hint (#8109)
    • task: add JoinSetStream wrapper for JoinSet (#8189)

    Changed

    • stream: bump minimum required tokio version to 1.38.0 (#7887)
    • stream: use cooperative budgeting in tokio_stream::iter (#8218)
    • stream: update coop handling for empty and once (#8227)

    Fixed

    • stream: fix overflow in StreamMap::size_hint (#8216)
    • stream: honor StreamMap::next_many limit (#8215)
    • stream: stop polling underlying stream once map_while yields None (#8233)
    Open source →
    Release notes

    Added

    • Re-export tokio::sync::Mutex primitive (#964).
    Open source →
  2. 0.1.18 04 Jan 2026
    Release notes

    Added

    • stream: add ChunksTimeout::into_remainder (#7715)
    • stream: add examples to wrapper types (#7024)
    • sync: implement Stream::size_hint for ReceiverStream and UnboundedReceiverStream (#7492)

    Fixed

    • stream: work around the rustc bug in StreamExt::collect (#7754)

    Documented

    • stream: improve the docs of TcpListenerStream (#7578)
    Open source →
    Release notes

    Added

    • TypedExecutor re-export and implementations (#993).
    Open source →
  3. 0.1.17 06 Dec 2024
    Release notes
    • deps: fix dev-dependency on tokio-test (#6931, #7019)
    • stream: fix link on Peekable (#6861)
    • sync: fix Stream link in broadcast docs (#6873)
    Open source →
    Release notes

    Added

    • Propagate trace subscriber in the runtime (#966).
    Open source →
  4. 0.1.16 05 Sep 2024
    Release notes

    This release bumps the MSRV of tokio-stream to 1.70.

    • stream: add next_many and poll_next_many to StreamMap (#6409)
    • stream: make stream adapters public (#6658)
    • readme: add readme for tokio-stream (#6456)
    Open source →
    Release notes

    Fixed

    • async-await: track latest nightly changes (#940).

    Added

    • sync::Watch, a single value broadcast channel (#922).
    • Async equivalent of read / write file helpers being added to std (#896).
    Open source →
  5. 0.1.15 14 Mar 2024
    Release notes

    This release bumps the MSRV of tokio-stream to 1.63.

    • docs: fix typo in argument name (#6389)
    • docs: fix typo in peekable docs (#6130)
    • docs: link to latest version of tokio-util docs (#5694)
    • docs: typographic improvements (#6262)
    • stream: add StreamExt::peekable (#6095)
    Open source →
    Release notes

    Added

    • Re-export tokio-sync APIs (#839).
    • Stream enumerate combinator (#832).
    Open source →
  6. 0.1.14 26 Apr 2023
    Release notes

    This bugfix release bumps the minimum version of Tokio to 1.15, which is necessary for timeout_repeating to compile. (#5657)

    Open source →
    Release notes
    • Use feature flags to break up the crate, allowing users to pick & choose components (#808).
    • Export UnixDatagram and UnixDatagramFramed (#772).
    Open source →
  7. 0.1.13 25 Apr 2023 withdrawn
    Release notes

    This release bumps the MSRV of tokio-stream to 1.56.

    • stream: add "full" feature flag (#5639)
    • stream: add StreamExt::timeout_repeating (#5577)
    • stream: add StreamNotifyClose (#4851)
    Open source →
    Release notes
    • Fix Runtime::reactor() when no tasks are spawned (#721).
    • runtime::Builder no longer uses deprecated methods (#749).
    • Provide after_start and before_stop configuration settings for Runtime (#756).
    • Implement throttle stream combinator (#736).
    Open source →
  8. 0.1.12 20 Feb 2023
    Release notes
    • time: remove Unpin bound on Throttle methods (#5105)
    • time: document that throttle operates on ms granularity (#5101)
    • sync: add WatchStream::from_changes (#5432)
    Open source →
    Release notes
    • runtime: expose keep_alive on runtime builder (#676).
    • runtime: create a reactor per worker thread (#660).
    • codec: fix panic in LengthDelimitedCodec (#682).
    • io: re-export tokio_io::io::read function (#689).
    • runtime: check for executor re-entry in more places (#708).
    Open source →
  9. 0.1.11 11 Oct 2022
    Release notes
    • time: allow StreamExt::chunks_timeout outside of a runtime (#5036)
    Open source →
    Release notes
    • Fix tokio-async-await dependency (#675).
    Open source →
  10. 0.1.10 18 Sep 2022
    Release notes
    • time: add StreamExt::chunks_timeout (#4695)
    • stream: add track_caller to public APIs (#4786)
    Open source →
    Release notes
    • Fix minimal versions
    Open source →
  11. 0.1.9 04 Jun 2022
    Release notes
    • deps: upgrade tokio-util dependency to 0.7.x (#3762)
    • stream: add StreamExt::map_while (#4351)
    • stream: add StreamExt::then (#4355)
    • stream: add cancel-safety docs to StreamExt::next and try_next (#4715)
    • stream: expose Elapsed error (#4502)
    • stream: expose Timeout (#4601)
    • stream: implement Extend for StreamMap (#4272)
    • sync: add Clone to RecvError types (#4560)
    Open source →
    Release notes
    • Experimental async/await improvements (#661).
    • Re-export TaskExecutor from tokio-current-thread (#652).
    • Improve Runtime builder API (#645).
    • tokio::run panics when called from the context of an executor (#646).
    • Introduce StreamExt with a timeout helper (#573).
    • Move length_delimited into tokio (#575).
    • Re-organize tokio::net module (#548).
    • Re-export tokio-current-thread::spawn in current_thread runtime (#579).
    Open source →
  12. 0.1.8 29 Oct 2021
    Release notes
    • stream: add From<Receiver<T>> impl for receiver streams (#4080)
    • stream: impl FromIterator for StreamMap (#4052)
    • signal: make windows docs for signal module show up on unix builds (#3770)
    Open source →
    Release notes
    • Extract tokio::executor::current_thread to a sub crate (#370)
    • Add Runtime::block_on (#398)
    • Add runtime::current_thread::block_on_all (#477)
    • Misc documentation improvements (#450)
    • Implement std::error::Error for error types (#501)
    Open source →
  13. 0.1.7 07 Jul 2021
    Release notes

    Fixed

    • sync: fix watch wrapper (#3914)
    • time: fix Timeout::size_hint (#3902)
    Open source →
    Release notes
    • Add Runtime::block_on for concurrent runtime (#391).
    • Provide handle to current_thread::Runtime that allows spawning tasks from other threads (#340).
    • Provide clock::now(), a configurable source of time (#381).
    Open source →
  14. 0.1.6 14 May 2021
    Release notes

    Added

    • stream: implement Error and Display for BroadcastStreamRecvError (#3745)

    Fixed

    • stream: avoid yielding in AllFuture and AnyFuture (#3625)
    Open source →
    Release notes
    • Add asynchronous filesystem APIs (#323).
    • Add "current thread" runtime variant (#308).
    • CurrentThread: Expose inner Park instance.
    • Improve fairness of CurrentThread executor (#313).
    Open source →
  15. 0.1.5 20 Mar 2021
    Release notes

    Fixed

    • stream: documentation note for throttle Unpin (#3600)
    Open source →
    Release notes
    • Provide timer API (#266)
    Open source →
  16. 0.1.4 09 Mar 2021
    Release notes

    Added

    • signal: add Signal wrapper (#3510)

    Fixed

    • stream: remove duplicate doc_cfg declaration (#3561)
    • sync: yield initial value in WatchStream (#3576)
    Open source →
    Release notes
    • Fix build on FreeBSD (#218)
    • Shutdown the Runtime when the handle is dropped (#214)
    • Set Runtime thread name prefix for worker threads (#232)
    • Add builder for Runtime (#234)
    • Extract TCP and UDP types into separate crates (#224)
    • Optionally support futures 0.2.
    Open source →
  17. 0.1.3 05 Feb 2021
    Release notes

    Added

    • sync: add wrapper for broadcast and watch (#3384, #3504)
    Open source →
    Release notes
    • Fix CurrentThread::turn to block on idle (#212).
    Open source →
  18. 0.1.2 12 Jan 2021
    Release notes

    Fixed

    • docs: fix some wrappers missing in documentation (#3378)
    Open source →
    Release notes
    • Introduce Tokio Runtime (#141)
    • Provide CurrentThread for more flexible usage of current thread executor (#141).
    • Add Lio for platforms that support it (#142).
    • I/O resources now lazily bind to the reactor (#160).
    • Extract Reactor to dedicated crate (#169)
    • Add facade to sub crates and add prelude (#166).
    • Switch TCP/UDP fns to poll_ -> Poll<...> style (#175)
    Open source →
  19. 0.1.1 04 Jan 2021
    Release notes

    Added

    • add Stream wrappers (#3343)

    Fixed

    • move async-stream to dev-dependencies (#3366)
    Open source →
    Release notes
    • Doc fixes
    Open source →
  20. 0.1.0 23 Dec 2020
    Release notes
    • Initial release
    Open source →
    Release notes
    • Initial crate released based on RFC.
    Open source →
  21. 0.0.0 03 Dec 2020

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive