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
Consoli
51cffbb74f
time: mark Sleep as !Unpin in docs ( #5916 )
2023-08-06 13:34:08 +02: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
Bugen Zhao
e63d0f10bf
task: use pin-project for TaskLocalFuture ( #5758 )
...
Signed-off-by: Bugen Zhao <[email protected] >
2023-06-10 12:38:52 +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
Alice Ryhl
74c6e6c683
chore: prepare tokio-util v0.7.8 ( #5651 )
2023-04-25 20:21:20 +02: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
Timmy Xiao
a7bb054414
tokio: update stream, util, test to 2021 edition ( #5571 )
2023-03-21 17:36:40 +00:00
Alice Ryhl
0c8e8248f8
tokio: bump MSRV to 1.56 ( #5559 )
2023-03-21 18:06:47 +01:00
Alice Ryhl
2dfe4e8885
time: fix repeatedly_reset_entry_inserted_as_expired test ( #5570 )
2023-03-21 18:06:22 +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
e629ad7c9a
chore: prepare tokio-util v0.7.7 ( #5451 )
2023-02-12 12:42:38 +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
01bb1ecf4d
chore: prepare tokio-util v0.7.6 ( #5447 )
2023-02-10 10:48:36 +01:00
Alice Ryhl
36d2233579
chore: fix dependency on Tokio ( #5445 )
2023-02-10 10:13:37 +01:00
Alice Ryhl
74fb9e387a
chore: prepare tokio-util v0.7.5 ( #5442 )
2023-02-09 17:35:53 +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
Flavio Moreira
a18b3645f3
chore: update year in LICENSE files ( #5402 )
2023-01-27 16:05:48 +01: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
Alice Ryhl
a9d5eb2fc7
io: add lines example for StreamReader ( #5145 )
2022-10-31 20:40:52 +01:00
Vitaly Shukela
d1a8ec6495
sync: add Semaphore::MAX_PERMITS ( #5144 )
2022-10-30 21:19:37 +00:00
620880f4ca
io: add tokio_util::io::{CopyToBytes, SinkWriter} ( #5070 )
...
Co-authored-by: Alice Ryhl <[email protected] >
Co-authored-by: Simon Farnsworth <[email protected] >
2022-10-30 11:04:22 +00:00
Duarte Nunes
29c6de0e3e
sync: add PollSemaphore::poll_acquire_many ( #5137 )
2022-10-30 10:06:10 +01:00
crusader-mike
cbbf81b922
codec: expose backpressure_boundary in Framed API ( #5124 )
2022-10-29 14:59:22 +00:00
Simon Farnsworth
96fab053ab
io: wrappers for inspecting data on IO resources ( #5033 )
2022-09-28 18:21:51 +00:00
Erwan
e8354279fb
time: add DelayQueue::try_remove ( #5052 )
2022-09-28 07:50:00 +00:00
Yotam Ofek
1c823093cb
codec: fix LengthDelimitedCodec buffer over-reservation ( #4997 )
2022-09-11 15:58:51 +02:00
Alice Ryhl
dfdb550cd4
chore: prepare tokio-util 0.7.4 ( #4987 )
2022-09-08 10:34:23 +02:00
Alex Rudy
291fce8de3
io: add error handling example to StreamReader ( #4975 )
2022-09-07 13:58:06 +00:00
imlk
733931d85f
io: add SyncIoBridge::shutdown() ( #4938 )
2022-08-24 12:18:53 +00:00
Noah Kennedy
b67b8c1398
chore: stabilize JoinSet and AbortHandle ( #4920 )
...
Closes #4535 .
This leaves the ID-related APIs unstable.
2022-08-19 17:16:11 +00:00
Josh Soref
f3e340a35b
chore: fix spelling mistakes ( #4858 )
...
Signed-off-by: Josh Soref <[email protected] >
2022-07-25 07:26:01 +00: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