156 Commits
Author SHA1 Message Date
Alice RyhlandGitHub bc0933ccff chore: prepare tokio-stream v0.1.19 (#8310) 2026-07-22 09:49:29 +02:00
Rachit2323andGitHub 4638b65f9c stream: implement Peekable::size_hint (#8109) 2026-07-13 13:00:59 +02:00
linkmauveandGitHub 9c465e2f42 tokio-stream: Simplify TakeWhile with Option::filter() (#8268)
Option::filter() exists since Rust 1.27.0, and is much more readable
than the open coded variant that was there before, using
Option::and_then().

This has been found by clippy.
2026-07-10 21:33:24 +02:00
Minh VuandGitHub 98104c36f1 stream: honor StreamMap::next_many limit (#8215) 2026-07-01 17:55:20 +02:00
MAAZIZ Adel AyoubandGitHub 7b354d22a9 stream: stop polling the underlying stream once map_while yields None (#8233) 2026-06-30 11:18:31 +08:00
NanasiandGitHub 95b8895da8 stream: update coop handling for empty and once (#8227) 2026-06-24 12:38:36 +00:00
Ebrahim EldesokyandGitHub 630ec12a4f stream: use cooperative budgeting in tokio_stream::iter (#8218) 2026-06-23 11:42:03 +00:00
Minh VuandGitHub f59aae423e stream: fix overflow in StreamMap::size_hint (#8216) 2026-06-23 09:49:54 +02:00
Jean SIMARDandGitHub bde8967853 task: add Stream wrapper for JoinSet (#8189) 2026-06-10 09:04:27 +02:00
vip892766gmaandGitHub de360cfc7e tokio-stream: fix duplicated word in changelog (#8143) 2026-05-14 20:33:43 -07:00
Rachit2323andGitHub 5030b3005e tokio-stream: implement FusedStream for various stream adaptors (#8096)
`MapWhile` is intentionally excluded because its current implementation
does not track when the closure returns `None` early, making a correct
`is_terminated()` impossible without a separate semantic change.
2026-05-01 14:09:28 +02:00
stormshield-fabsandGitHub 47cc31590f tokio-stream: implement FusedStream for Fuse (#8090) 2026-04-28 17:33:54 +02:00
figsodaandGitHub 2db0070eb8 stream: impl FromStream for std::collections::* (#7966) 2026-03-16 16:00:49 +01:00
figsodaandGitHub aa1e7e2b9d stream: impl FromStream for BTreeSet (#7954) 2026-03-09 10:20:21 +00:00
Mattia PitossiandGitHub 159f70bc55 ci: fix ambiguity issue during tokio releases (#7848) 2026-02-09 11:04:59 +01:00
tsyrulbandGitHub 306ed1c30b stream: bump minimum tokio version to 1.38 (#7887)
tokio-stream 0.1.18 added `Stream::size_hint` for
`ReceiverStream` and `UnboundedReceiverStream` (PR #7492),
which calls `Receiver::is_closed()` and `Receiver::len()`
(added in tokio 1.37.0) and `Receiver::capacity()` and
`Receiver::max_capacity()` (added in tokio 1.38.0).

The declared minimum of tokio 1.15.0 is no longer sufficient,
causing compilation failures when resolved via
`-Z direct-minimal-versions`.

Refs: #7492
2026-02-06 11:45:30 +01:00
bf185b61ff docs: fix broken links of select! (#7860)
Co-authored-by: Martin Grigorov <[email protected]>
2026-01-17 10:10:59 -08:00
Finn ShengandGitHub b88c02c55e time: implement FusedStream for IntervalStream (#7854) 2026-01-14 14:49:03 +01:00
Alice RyhlandGitHub 60b083b630 chore: prepare tokio-stream 0.1.18 (#7830) 2026-01-04 13:53:30 +01:00
xibeiyoumianandGitHub 5b91709edf chore: fix some minor typos in the comments (#7785)
Signed-off-by: xibeiyoumian <[email protected]>
2025-12-23 20:24:13 +08:00
Tethys SvenssonandGitHub c8116ecd7b stream: work around the rustc bug in StreamExt::collect (#7754) 2025-12-05 10:24:29 +08:00
Muhamad AwadandGitHub 62ecff895a stream: add ChunksTimeout::into_remainder (#7715) 2025-11-06 20:15:10 +08:00
d84a9e9af3 util: enable loom tests (#7644)
Co-authored-by: Benjamin Ran <[email protected]>
2025-11-06 19:20:08 +08:00
Alice RyhlandGitHub 5b4cbbc39e tokio: raise MSRV to 1.71 (#7658) 2025-10-02 11:14:17 +02:00
Lucas BlackandGitHub 8ccf2fb92e ci: unfreeze wasm tests from rustc 1.88.0 (#7537) 2025-09-26 21:29:01 +08:00
Martin GrigorovandGitHub 4590828fb4 stream: improve the the docs of TcpListenerStream (#7578)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 13:36:41 +08:00
Łukasz SobczakandGitHub 9f423053fb sync: umplement Stream::size_hint for ReceiverStream and UnboundedReceiverStream (#7492) 2025-07-29 15:35:09 +00:00
Aaron ChenandGitHub a7896d07f1 chore: update CI to clippy 1.88 (#7452) 2025-07-09 08:34:24 +02:00
jimmycathyandGitHub 0ec4d0db4d docs: remove redundant words in comment (#7224) 2025-03-16 18:08:25 +09:00
Taiki EndoandGitHub 7f09959b0a chore: use [lints] to address unexpected_cfgs lint (#7124) 2025-01-25 17:46:21 +01:00
Josh McKinneyandGitHub 6d15c6cacb stream: add examples to wrapper types (#7024) 2024-12-10 11:14:18 +00:00
Alice RyhlandGitHub 67355c6d23 chore: prepare tokio-stream v0.1.17 (#7020) 2024-12-06 11:19:06 +01:00
tiifandGitHub 4047d7962a miri: add annotations for tests with miri ignore (#6981) 2024-11-20 11:44:28 +01:00
Alice RyhlandGitHub ebe241647e ci: use cargo deny (#6931) 2024-10-23 18:48:07 +02:00
shray sharmaandGitHub e2e1e8e71d sync: fix Stream link in broadcast docs (#6873) 2024-09-27 13:49:06 +02:00
vxzyfx's githubandGitHub 8ef5163df8 stream: fix link on Peekable (#6861) 2024-09-23 14:56:42 +00:00
Dirkjan OchtmanandGitHub 4ed0fa21e4 chore: prepare tokio-stream v0.1.16 (#6825) 2024-09-05 12:42:22 +02:00
Eduardo Sánchez MuñozandGitHub 12b2567b95 chore: use poll_fn from std (#6810) 2024-09-05 09:54:06 +02:00
Havish MakaandGitHub 11f66f43a0 chore: replace ready! with std::task::ready! (#6804) 2024-08-29 22:02:56 +02:00
Alice RyhlandGitHub 15cd5146d4 chore: increase MSRV to 1.70 (#6645) 2024-07-22 18:01:27 +00:00
sharpened-nachoandGitHub c8f3539bc1 stream: make stream adapters public (#6658) 2024-07-02 20:49:34 +00:00
Josh McKinneyandGitHub 3a6fdc0568 license: fix formatting and remove year in licenses (#6451) 2024-05-26 09:29:27 +00:00
Michael ScholtenandGitHub daa89017da ci: fix new clippy warnings (#6569) 2024-05-18 10:09:37 +02:00
Alice RyhlandGitHub 2a0df5fb05 ci: bump nightly to nightly-2024-05-05 (#6538) 2024-05-05 15:43:11 +00:00
Rafael BachmannandGitHub be9328da75 chore: fix clippy warnings (#6466) 2024-04-08 20:44:18 +09:00
Aoi KurokawaandGitHub a1acfd8c20 readme: add readme for tokio-stream (#6456) 2024-04-03 15:36:08 +09:00
M.Amin RayejandGitHub 4601c84718 stream: add next_many and poll_next_many to StreamMap (#6409) 2024-03-26 18:38:53 +03:30
Alice RyhlandGitHub 7cfb100796 chore: prepare tokio-stream v0.1.15 (#6401) 2024-03-14 22:10:05 +01:00
Yotam OfekandGitHub b4ab6472de signal: fix typo in argument name (#6389) 2024-03-10 16:24:07 +01:00
Owen LeungandGitHub 131e7b4e49 ci: add spellchecking (#6297) 2024-01-29 10:53:43 +01:00