Commit Graph
4196 Commits
Author SHA1 Message Date
Aatif Syed d1e06f831e net: implement AsRef<Self> for TcpStream and UnixStream (#7573) 2025-09-04 10:31:49 +00:00
Sam 37ca2f049c sync: remove inner mutex in SetOnce (#7554) 2025-09-03 17:37:50 +02:00
Varun Doshi c8371d45bc codec: add {FramedRead,FramedWrite}::into_parts() (#7566) 2025-09-03 13:38:51 +02:00
Daniel Sharifi adc3e19ba7 time: clarify the cancellation safety of the DelayQueue (#7564) 2025-08-31 20:57:17 +08:00
Alex Bakon 925c614c89 time: reduce the generated code size of Timeout<T>::poll (#7535) 2025-08-19 13:42:55 +02:00
Asger Hautop Drewsen dd74c7c1bf task: implement Ord for task::Id (#7530) 2025-08-15 09:52:12 +02:00
Logan Praneis 23263231fd net: qualify that SO_REUSEADDR is only set on Unix (#7533) 2025-08-14 09:25:55 +08:00
CrazyFrog 86528741f9 ci: update GitHub actions/checkout to v5 (#7529) 2025-08-13 12:57:45 +02:00
Noam Soloveichik 131afd3c53 net: clarify socket gets closed on drop (#7526) 2025-08-11 16:26:01 +00:00
Qi 9ed6f70b81 ci: remove a typo from spellcheck.dic (#7524)
Signed-off-by: ADD-SP <[email protected]>
2025-08-10 20:31:09 +08:00
mxsm 46f7d87962 runtime: fix a typo in comment of MAX_LIFO_POLLS_PER_TICK (#7520) 2025-08-09 22:29:43 +08:00
Motoyuki Kimura 987675e843 ci: pin the rust version for wasm tests (#7518) 2025-08-08 10:09:31 +00:00
Qi 11d7c0486a task: inline the docs of TaskTracker while re-exporting it (#7516)
Signed-off-by: ADD-SP <[email protected]>
2025-08-08 09:54:25 +02:00
Motoyuki Kimura 3e84a198e4 fs: add io_uring open operation (#7321) 2025-08-08 09:51:42 +02:00
Qi 7497561fed net: render the cygwin in the docs of quickack and set_quickack (#7515)
Signed-off-by: ADD-SP <[email protected]>
2025-08-06 09:01:27 +08:00
Luca Bruno ef5b6af7f6 future: clarify the fairness of FutureExt for cancellation adapters (#7512)
This fixes the docstrings on `FutureExt` so that the bias and fairness
notes are correct and consistent in all cases.
All cancellation-related wrappers are biased towards the completion of
the inner future, but they do initially check if the token is
already cancelled at construction time.
2025-08-04 21:26:11 +08:00
Motoyuki Kimura 0922aa2a0b ci: fix clippy warnings triggered under specific cfg (#7495) 2025-08-04 10:36:17 +00:00
Michael Zhao 2403b91d75 process: upgrade Command::spawn_with to use FnOnce (#7511) 2025-08-03 18:27:37 +00:00
Conrad Ludgate f1d3b065b6 task: fix flaky joinmap test during abort (#7509) 2025-08-03 20:00:33 +02:00
Alice Ryhl cf6b50a3fd chore: prepare tokio-util v0.7.16 (#7507) tokio-util-0.7.16 2025-08-03 11:12:41 +02:00
Conrad Ludgate 416e36b0df task: stabilise JoinMap (#7075) 2025-08-03 07:58:28 +00:00
Alice Ryhl 9741c90f9f sync: document cancel safety on SetOnce::wait (#7506) 2025-08-03 07:42:30 +00:00
Lucas Black 4e3f17bce3 codec: also apply capacity to read buffer in Framed::with_capacity (#7500) 2025-08-01 21:26:33 +02:00
Alice Ryhl 86cbf81e15 Merge 'tokio-1.47.1' into 'master' 2025-08-01 13:21:45 +02:00
Alice Ryhl be8ee45b3f chore: prepare Tokio v1.47.1 (#7504) tokio-1.47.1 2025-08-01 13:20:34 +02:00
Alice Ryhl d9b19166cd Merge 'tokio-1.43.2' into 'tokio-1.47.x' (#7503) 2025-08-01 13:03:06 +02:00
Alice Ryhl db8edc620f chore: prepare Tokio v1.43.2 (#7502) tokio-1.43.2 2025-08-01 12:57:50 +02:00
Alice Ryhl e47565b086 blocking: clarify that spawn_blocking is aborted if not yet started (#7501) 2025-08-01 10:32:37 +00:00
Alice Ryhl 4730984d66 readme: add 1.47 as LTS release (#7497)
(cherry picked from commit ad2e19ffe1)
2025-08-01 11:34:35 +02:00
Alice Ryhl 1979615cbf process: fix panic from spurious pidfd wakeup (#7494) 2025-08-01 09:27:15 +00:00
Lucas Black 1bc50825f3 codec: add FramedWrite::with_capacity (#7493) 2025-08-01 11:23:22 +02:00
Alice Ryhl f669a609cf ci: add lockfile for LTS branch
This is to fix CI failures from backtrace in rustdoc jobs.
2025-08-01 11:07:17 +02:00
Alice Ryhl ad2e19ffe1 readme: add 1.47 as LTS release (#7497) 2025-07-31 16:45:10 +02:00
Qi 5f04d14d81 net: add TcpStream::quickack and TcpStream::set_quickack (#7490)
Signed-off-by: ADD-SP <[email protected]>
2025-07-31 19:58:01 +08:00
Motoyuki Kimura 01ea8f22ea ci: add kernel-version-test workflow for io_uring tests (#7486) 2025-07-31 20:52:28 +09:00
Łukasz Sobczak 9f423053fb sync: umplement Stream::size_hint for ReceiverStream and UnboundedReceiverStream (#7492) 2025-07-29 15:35:09 +00:00
yanyuxing 0e5c5d64f5 future: add adapters of CancellationToken for FutureExt (#7475) 2025-07-29 18:09:13 +08:00
Luca Bruno 1b27e17ff8 net: add SocketAddr::as_abstract_name (#7491) 2025-07-29 11:07:58 +02:00
Jess Izen 8fc62c06c7 metrics: reorder metrics to be grouped by cfg-gates (#7453) 2025-07-29 07:40:57 +02:00
James Kay 4b96af6040 macros: add "local" runtime flavor (#7375) 2025-07-28 13:59:00 +02:00
tkoyasak ce41896f8d sync: fix broken link of Python asyncio.Event in SetOnce docs (#7485) 2025-07-27 08:28:24 +08:00
tkoyasak c8ab78a84f changelog: fix incorrect PR number for 1.47.0 (#7484) 2025-07-27 08:24:09 +08:00
Daksh 3911cb8523 chore: prepare Tokio v1.47.0 (#7482) tokio-1.47.0 2025-07-26 16:50:58 +02:00
Aria Andika d545aa2601 sync: add sync::Notify::notified_owned() (#7465) 2025-07-26 21:45:34 +08:00
Daksh 911ab21d70 sync: add SetOnce (#7418) 2025-07-25 10:29:14 +02:00
Conrad Ludgate 9e94fa7e15 task: remove raw-entry feature from hashbrown dep (#7252) 2025-07-22 15:52:54 +02:00
QiandTaiki Endo 0d234c3cf9 ci: unfreeze wasm-unknown-unknown from rustc 1.81 (#7471)
Signed-off-by: ADD-SP <[email protected]>
Co-authored-by: Taiki Endo <[email protected]>
2025-07-21 09:48:04 +08:00
Taiki Endo 3754e059b6 ci: use ubuntu-24.04-arm instead of ubuntu-22.04-arm (#7470) 2025-07-20 17:19:26 +09:00
Stepan TubanovandLuca BRUNO 6d868d96ce sync: fix CancellationToken failing to cancel the ready futures (#7462)
This patch fixes an issue where the `CancellationToken::run_until_cancelled` never cancels the `Future` that returns `Ready` at the first `poll`.

---------

Co-authored-by: Luca BRUNO <[email protected]>
2025-07-20 10:03:29 +08:00
Qi 0a3fe46086 sync: remove duplicated code in OnceCell tests (#7458)
Signed-off-by: ADD-SP <[email protected]>
2025-07-14 10:28:02 +02:00