Michael Scholten
daa89017da
ci: fix new clippy warnings ( #6569 )
2024-05-18 10:09:37 +02:00
Alice Ryhl
2a0df5fb05
ci: bump nightly to nightly-2024-05-05 ( #6538 )
2024-05-05 15:43:11 +00:00
LongYinan
9ed595767d
wasm: support rt-multi-thread with wasm32-wasi-preview1-threads ( #6510 )
2024-04-24 09:45:54 +02:00
Rafael Bachmann
be9328da75
chore: fix clippy warnings ( #6466 )
2024-04-08 20:44:18 +09:00
Jens Reidel
d298049299
codec: make tracing feature optional for codecs ( #6434 )
...
Signed-off-by: Jens Reidel <[email protected] >
2024-03-30 18:20:05 +01:00
Timo
1fcb77db34
io: add T: ?Sized to tokio_util::io::poll_read_buf ( #6441 )
2024-03-30 12:13:06 +00:00
M.Amin Rayej
deff2524c3
util: document cancel safety of SinkExt::send and StreamExt::next ( #6417 )
2024-03-25 01:53:01 +03:30
M.Amin Rayej
8342e4b524
util: assert compatibility between LengthDelimitedCodec options ( #6414 )
2024-03-24 01:12:24 +03:30
Vincent Palancher
c9e75785c8
sync: remove 'static bound on impl Sink for PollSender ( #6397 )
...
In PR #5665 , the `'static` bound has been removed on values sent into
`PollSender`. One of this bound was remaining on the `PollSender`
implementation of `Sink`. This patch removes it and adds some tests on
the `Sink` interface for `PollSender`.
2024-03-14 10:23:59 +01:00
M.Amin Rayej
e25d661e08
util: add examples for FramedRead and FramedWrite ( #6310 )
2024-02-11 02:38:44 +03:30
Patrick McGleenon and Rafael Bachmann
e392c4ff1e
chore: update CI to clippy 1.76 ( #6334 )
...
Co-authored-by: Rafael Bachmann <[email protected] >
2024-02-10 10:45:40 +01:00
Owen Leung
131e7b4e49
ci: add spellchecking ( #6297 )
2024-01-29 10:53:43 +01:00
Evan Rittenhouse
bfd7b08067
time: add FutureExt::timeout ( #6276 )
2024-01-16 09:51:38 +01:00
Taiki Endo
84c5674c60
ci: update clippy version to 1.75 ( #6273 )
2024-01-07 02:33:37 +09:00
Alice Ryhl
c7e7f203ee
chore: typographic improvements ( #6262 )
2024-01-03 18:01:27 +00:00
Eddy Oyieko
53ad102cf0
util: implement Sink for Either ( #6239 )
2023-12-22 18:23:04 +01:00
aliu
a8e8fa6681
time: add DelayQueue::deadline ( #6163 )
2023-11-23 18:20:26 +01:00
Fritz Rehde
593dbf55d1
docs: fix typos ( #6118 )
2023-10-30 15:17:46 +01:00
Alice Ryhl
58acb56a17
ci: update nightly to 2023-10-21 ( #6103 )
2023-10-24 14:15:25 +00:00
Alice Ryhl
70410836ae
task: add tokio_util::sync::TaskTracker ( #6033 )
2023-10-22 14:35:19 +00:00
Rafael Bachmann
6871084629
chore: clippy and doc fixes ( #6081 )
2023-10-16 17:37:51 +02:00
Andrea Stedile and Alice Ryhl
f1e41a4ad4
task: add JoinMap::keys ( #6046 )
...
Co-authored-by: Alice Ryhl <[email protected] >
2023-10-15 16:47:41 +02:00
David Yamnitsky
4557451257
io: implement Seek for SyncIoBridge ( #6058 )
2023-10-07 14:43:35 +02:00
Victor Timofei
65e7715909
util: replace sync::reusable_box::Pending with std::future::Pending ( #6000 )
2023-09-12 08:53:05 +09:00
Weijia Jiang
a6be73eecb
codec: document the line ending used by LinesCodec ( #5982 )
2023-09-08 15:59:48 +02:00
Colin Walters
fd7d0ad5e5
io: add SyncIOBridge::into_inner ( #5971 )
2023-09-01 13:01:22 +00:00
nicflower
59c9364689
io: pass through IO traits for StreamReader and SinkWriter ( #5941 )
2023-08-23 17:46:39 +00:00
Jiahao XU
5128601898
ci: fix clippy warnings ( #5891 )
...
Signed-off-by: Jiahao XU <[email protected] >
2023-07-28 12:05:32 +02:00
Marek Kuskowski
74a5a458ea
util: fix broken intra-doc link ( #5849 )
2023-07-06 10:43:35 +02:00
Consoli
1bfe778acb
sync: handle possibly dangling reference safely ( #5812 )
2023-06-28 09:10:18 +02:00
Dhruv Vats
910a1e2fcf
io: fix futures_io::AsyncSeek implementaion for Compat ( #5783 )
2023-06-25 13:04:35 +02:00
tim gretler
b8af5aad16
task: add spawn_blocking methods to JoinMap ( #5797 )
2023-06-24 12:13:56 +02:00
Chris Constantine
7c12e41d07
io: add AsyncRead/AsyncWrite passthrough for Inspect ( #5739 )
2023-06-01 15:35:03 +02:00
RaccoonSupremacy
0b2c9b8bab
util: add reexport of bytes crate ( #5725 )
2023-05-28 19:12:40 +02:00
Daniel Bloom
c999699f5e
sync: remove 'static bound from PollSender ( #5665 )
2023-05-09 16:01:57 +00:00
Sigurd
5cef6eba7b
sync: improve CancellationToken doc on child tokens ( #5632 )
2023-04-19 17:42:32 +02:00
isabelleatkins
9f9e596eec
time: fix panic in DelayQueue ( #5630 )
2023-04-17 20:51:42 +00:00
Jens Reidel
effead29d1
time: add DelayQueue::peek ( #5569 )
...
Signed-off-by: Jens Reidel <[email protected] >
2023-04-16 09:43:03 +02:00
Daniel Sedlak
d4afbad6e5
tokio: fix typos ( #5604 )
2023-04-06 14:29:12 +02:00
Alice Ryhl
0c8e8248f8
tokio: bump MSRV to 1.56 ( #5559 )
2023-03-21 18:06:47 +01:00
Alice Ryhl
b489acb46c
sync: try to lock the parent first in CancellationToken ( #5561 )
2023-03-21 14:20:33 +01:00
Alice Ryhl
36fdccc3bc
util: Revert "remove Encoder bound on FramedParts constructor" ( #5450 )
...
This reverts commit ae69d11d1f .
2023-02-12 11:55:41 +01:00
Alice Ryhl
8b44077ebc
sync: make CancellationToken UnwindSafe ( #5438 )
2023-02-09 13:07:52 +01:00
Dmitry Ivanov
5653b4583c
io: remove erroneous wake call in SinkWriter ( #5436 )
2023-02-07 18:32:27 +00:00
Matt Fellenz
ae69d11d1f
util: remove Encoder bound on FramedParts constructor ( #5280 )
2022-12-09 11:12:42 +00:00
Carl Lerche
22cff80048
chore: update CI's clippy version to 1.65 ( #5276 )
2022-12-06 19:56:13 -08:00
Jiahao XU
a1316cd792
io: impl std::io::BufRead on SyncIoBridge<T> ( #5265 )
...
Signed-off-by: Jiahao XU <[email protected] >
2022-12-05 10:11:44 +01:00
Jiahao XU
304b5152a7
sync: add owned future for CancellationToken ( #5153 )
2022-11-21 15:03:09 +00:00
Abutalib Aghayev
71bd49e146
task: add task::id() and task::try_id() ( #5171 )
2022-11-13 14:18:42 +01:00
Alice Ryhl
fc9518b627
chore: bump clippy version ( #5173 )
2022-11-06 12:44:26 +01:00