Rachit2323
4638b65f9c
stream: implement Peekable::size_hint ( #8109 )
2026-07-13 13:00:59 +02:00
Minh Vu
98104c36f1
stream: honor StreamMap::next_many limit ( #8215 )
2026-07-01 17:55:20 +02:00
MAAZIZ Adel Ayoub
7b354d22a9
stream: stop polling the underlying stream once map_while yields None ( #8233 )
2026-06-30 11:18:31 +08:00
Ebrahim Eldesoky
630ec12a4f
stream: use cooperative budgeting in tokio_stream::iter ( #8218 )
2026-06-23 11:42:03 +00:00
Minh Vu
f59aae423e
stream: fix overflow in StreamMap::size_hint ( #8216 )
2026-06-23 09:49:54 +02:00
Jean SIMARD
bde8967853
task: add Stream wrapper for JoinSet ( #8189 )
2026-06-10 09:04:27 +02:00
Rachit2323
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-fabs
47cc31590f
tokio-stream: implement FusedStream for Fuse ( #8090 )
2026-04-28 17:33:54 +02:00
figsoda
2db0070eb8
stream: impl FromStream for std::collections::* ( #7966 )
2026-03-16 16:00:49 +01:00
figsoda
aa1e7e2b9d
stream: impl FromStream for BTreeSet ( #7954 )
2026-03-09 10:20:21 +00:00
Finn Sheng
b88c02c55e
time: implement FusedStream for IntervalStream ( #7854 )
2026-01-14 14:49:03 +01:00
Muhamad Awad
62ecff895a
stream: add ChunksTimeout::into_remainder ( #7715 )
2025-11-06 20:15:10 +08:00
Łukasz Sobczak
9f423053fb
sync: umplement Stream::size_hint for ReceiverStream and UnboundedReceiverStream ( #7492 )
2025-07-29 15:35:09 +00:00
Aaron Chen
a7896d07f1
chore: update CI to clippy 1.88 ( #7452 )
2025-07-09 08:34:24 +02:00
tiif
4047d7962a
miri: add annotations for tests with miri ignore ( #6981 )
2024-11-20 11:44:28 +01:00
sharpened-nacho
c8f3539bc1
stream: make stream adapters public ( #6658 )
2024-07-02 20:49:34 +00:00
Rafael Bachmann
be9328da75
chore: fix clippy warnings ( #6466 )
2024-04-08 20:44:18 +09:00
M.Amin Rayej
4601c84718
stream: add next_many and poll_next_many to StreamMap ( #6409 )
2024-03-26 18:38:53 +03:30
M.Amin Rayej
58edfc61ab
ci: verify that tests work with panic=abort ( #6283 )
2024-01-16 16:10:23 +01:00
Aviram Hassan
9507f8b374
stream: add StreamNotifyClose ( #4851 )
2023-04-16 15:04:00 +00:00
Chris Brody
d07027f5bc
sync: add WatchStream::from_changes ( #5432 )
2023-02-19 16:16:12 +01:00
Nathaniel Brough
d7d5d05333
tests: port proptest fuzz harnesses to use cargo-fuzz ( #5392 )
...
This change ports fuzz tests from the black-box fuzzing framework,
proptest-rs over to use the grey-box fuzzing framework cargo-fuzz.
Refs: #5391
2023-02-09 11:08:50 +01:00
Richard Zak
6d3f92dddc
wasm: initial support for wasm32-wasi target ( #4716 )
...
This adds initial, unstable, support for the wasm32-wasi target. Not all of Tokio's
features are supported yet as WASI's non-blocking APIs are still limited.
Refs: tokio-rs/tokio#4827
2022-07-12 13:20:26 -07:00
Hayden Stainsby
485ca3e37c
stream: add track_caller to public APIs ( #4786 )
...
Functions that may panic can be annotated with `#[track_caller]` so that
in the event of a panic, the function where the user called the
panicking function is shown instead of the file and line within Tokio
source.
This change adds `#[track_caller]` to all the non-unstable public APIs
in tokio-stream (only `chunks_timeout` in `StreamExt`) where the
documentation describes how this function may panic due to incorrect
input.
A test has been included to cover the panic.
Refs: #4413
2022-06-22 17:27:23 +00:00
jefftt
7011a68343
time: add StreamExt::chunks_timeout ( #4695 )
2022-06-06 16:16:50 +02:00
Gabriel Grubba
b09899832c
stream: fix disabled tests ( #4441 )
2022-01-28 17:30:07 +01:00
Colin Walters
e1c8b5a159
tests: add #[cfg(sync)] to watch test ( #4183 )
2021-10-21 09:11:14 +02:00
Alice Ryhl
8170e2787c
sync: fix watch wrapper ( #3914 )
2021-07-02 23:24:02 +02:00
Taiki Endo
9d8b37d51a
macros: suppress clippy::default_numeric_fallback lint in generated code ( #3831 )
2021-06-02 18:16:23 +09:00
Folyd
f3ed064a26
chore: update *::{max, min}_value() to const *::MAX and *::MIN respectively ( #3794 )
2021-05-17 12:31:58 +02:00
Lucio Franco
8efa62013b
Move stream items into tokio-stream ( #3277 )
...
This change removes all references to `Stream` from
within the `tokio` crate and moves them into a new
`tokio-stream` crate. Most types have had their
`impl Stream` removed as well in-favor of their
inherent methods.
Closes #2870
2020-12-15 20:24:38 -08:00