]>
git.feebdaed.xyz Git - 0xmirror/tokio.git/log
Ruiyang Sun [Thu, 2 Oct 2025 08:53:25 +0000 (16:53 +0800)]
macros: suppress `clippy::unwrap_in_result` in `#[tokio::main]` (#7651)
Tudyx [Thu, 2 Oct 2025 07:07:28 +0000 (09:07 +0200)]
task: simplify the example of `TaskTracker` (#7657)
Qi [Wed, 1 Oct 2025 14:00:46 +0000 (22:00 +0800)]
runtime: add guide for choosing between runtime types (#7635)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Xinye Tao [Wed, 1 Oct 2025 08:38:04 +0000 (16:38 +0800)]
sync: clarify bounded channel panic behavior (#7641)
Signed-off-by: Xinye Tao <xinye.tao@metabit-trading.com>
Co-authored-by: Xinye Tao <xinye.tao@metabit-trading.com>
Alice Ryhl [Tue, 30 Sep 2025 12:35:46 +0000 (14:35 +0200)]
docs: fix some docs links (#7654)
Qi [Tue, 30 Sep 2025 11:53:19 +0000 (19:53 +0800)]
fs: emit compilation error without `tokio_unstable` for `io-uring` (#7634)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Qi [Mon, 29 Sep 2025 15:51:20 +0000 (23:51 +0800)]
ci: freeze rustc on nightly-2025-01-25 in `netlify.toml` (#7652)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Lucas Black [Fri, 26 Sep 2025 13:29:01 +0000 (06:29 -0700)]
ci: unfreeze wasm tests from rustc 1.88.0 (#7537)
Nikolai Kuklin [Thu, 25 Sep 2025 12:31:31 +0000 (14:31 +0200)]
task: add `try_join_next` and `try_join_next_with_id` on `JoinQueue` (#7636)
Martin Grigorov [Tue, 23 Sep 2025 14:12:41 +0000 (17:12 +0300)]
tokio: fix typos in `tokio/CHANGELOG.md` (#7643)
Jess Izen [Sun, 21 Sep 2025 05:47:22 +0000 (01:47 -0400)]
macros: fix the hygiene issue of `join!` and `try_join!` (#7638)
Daniel Sharifi [Sat, 20 Sep 2025 14:02:56 +0000 (14:02 +0000)]
sync: clarify the behavior of `tokio::sync::watch::Receiver` (#7584)
Nikolai Kuklin [Sat, 20 Sep 2025 07:38:59 +0000 (09:38 +0200)]
task: add `tokio_util::task::JoinQueue` (#7590)
Martin Grigorov [Sat, 20 Sep 2025 06:44:55 +0000 (09:44 +0300)]
sync: close the `broadcast::Sender` in `broadcast::Sender::new()` (#7629)
Motoyuki Kimura [Fri, 19 Sep 2025 15:22:44 +0000 (00:22 +0900)]
fs: use the Cargo feature for io-uring support instead of cfg (#7621)
Co-authored-by: Emile Fugulin <code@efugulin.com>
Qi [Fri, 19 Sep 2025 14:11:21 +0000 (22:11 +0800)]
ci: update macros_type_mismatch for Rust 1.90.0 (#7630)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Adam Ning [Thu, 18 Sep 2025 11:41:23 +0000 (19:41 +0800)]
runtime: use release in `wake_by_ref()` even if already woken (#7622)
Vaibhav Gupta [Wed, 17 Sep 2025 13:10:10 +0000 (18:40 +0530)]
net: clarify the supported platform of `set_reuseport()` and `reuseport()` (#7628)
Martin Grigorov [Tue, 16 Sep 2025 13:41:18 +0000 (16:41 +0300)]
runtime: clarify the edge case of `Builder::global_queue_interval()` (#7605)
Martin Grigorov [Mon, 15 Sep 2025 11:56:29 +0000 (14:56 +0300)]
sync: improve the docs of `sync::watch` (#7601)
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
tottoto [Mon, 15 Sep 2025 10:22:57 +0000 (19:22 +0900)]
examples: bump `http` crate from `0.2` to `1` (#7618)
Sean Oxley [Mon, 15 Sep 2025 10:18:16 +0000 (19:18 +0900)]
task: clarify the task ID reuse guarantees (#7577)
Martin Grigorov [Mon, 15 Sep 2025 07:22:42 +0000 (10:22 +0300)]
util: fix `pending_only_on_first_poll_with_cancellation_token_owned_test` to use an owned cancellation token (#7613)
The name of the test suggests that it should test the
with_cancellation_token_owned() extension method
Martin Grigorov [Sun, 14 Sep 2025 16:05:05 +0000 (19:05 +0300)]
net: clarify the behavior of `UCred::pid()` on Cygwin (#7611)
Martin Grigorov [Thu, 11 Sep 2025 10:02:34 +0000 (13:02 +0300)]
tokio: fix minor errors in `tokio/CHANGELOG.md` (#7608)
Martin Grigorov [Thu, 11 Sep 2025 07:18:40 +0000 (10:18 +0300)]
time: add `#[track_caller]` to `FutureExt::timeout` (#7588)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Wed, 10 Sep 2025 14:33:35 +0000 (17:33 +0300)]
net: fix copy/paste errors in udp peek methods (#7604)
Martin Grigorov [Wed, 10 Sep 2025 14:16:15 +0000 (17:16 +0300)]
task: remove duplicated code in `JoinMap::remove_by_id` (#7603)
Qi [Wed, 10 Sep 2025 12:57:03 +0000 (20:57 +0800)]
task: improve the example of `poll_proceed` (#7586)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Aatif Syed [Wed, 10 Sep 2025 08:45:42 +0000 (09:45 +0100)]
io: export `Chain` of `AsyncReadExt::chain` (#7599)
Martin Grigorov [Wed, 10 Sep 2025 08:41:20 +0000 (11:41 +0300)]
fs: fill the destination buffer with 0s for MockFile::read() (#7596)
Martin Grigorov [Tue, 9 Sep 2025 13:52:58 +0000 (16:52 +0300)]
macros: Update the version used for Git tag sample for release steps (#7598)
Change 1.x.y to x.y.z so that it does not become obsolete again when
tokio-macros 3.x is released
Martin Grigorov [Tue, 9 Sep 2025 13:26:16 +0000 (16:26 +0300)]
macros: add missing `local` flavor to `tokio::main` error message (#7597)
unvalley [Tue, 9 Sep 2025 10:31:14 +0000 (19:31 +0900)]
test: add tests for time in wasm32-unknown-unknown (#7510)
Martin Grigorov [Tue, 9 Sep 2025 09:05:14 +0000 (12:05 +0300)]
sync: reword allocation failure paragraph in broadcast docs (#7595)
Martin Grigorov [Tue, 9 Sep 2025 08:34:35 +0000 (11:34 +0300)]
fs: preserve `max_buf_size` when cloning a `File` (#7593)
Martin Grigorov [Tue, 9 Sep 2025 08:12:07 +0000 (11:12 +0300)]
fs: add `File::max_buf_size` (#7594)
Martin Grigorov [Tue, 9 Sep 2025 07:39:01 +0000 (10:39 +0300)]
sync: fix implementation of unused `RwLock::try_*` methods (#7587)
bd4ccae184b0359cb88f9ebc2ba157867e1eee0e introduced a wrapper for the
RwLock to get rid of poisoning aspects.
By mistake (?!) its try_read/write methods actually delegate to
read/write() and this would lead to blocking
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Tue, 9 Sep 2025 07:37:47 +0000 (10:37 +0300)]
readme: fix the version used as an example how to use the latest minor of LTS (#7592)
Qi [Mon, 8 Sep 2025 10:07:40 +0000 (18:07 +0800)]
ci: remove the job `test-pass` (#7575)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Martin Grigorov [Sat, 6 Sep 2025 07:58:41 +0000 (10:58 +0300)]
io: fix typos in the docs of `AsyncFd` readiness guards (#7583)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Sat, 6 Sep 2025 07:49:07 +0000 (10:49 +0300)]
examples: fix the write length in the `connect-tcp` example (#7581)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Sat, 6 Sep 2025 06:01:40 +0000 (09:01 +0300)]
examples: update outdated example name `connect` to `connect-tcp` (#7582)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Sat, 6 Sep 2025 05:52:16 +0000 (08:52 +0300)]
process: fix unit test for trailing LF in `uname -r` (#7579)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Sat, 6 Sep 2025 05:42:35 +0000 (08:42 +0300)]
io: clarify the zero capacity case of `AsyncRead::poll_read` (#7580)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Martin Grigorov [Sat, 6 Sep 2025 05:36:41 +0000 (08:36 +0300)]
stream: improve the the docs of `TcpListenerStream` (#7578)
Signed-off-by: Martin Tzvetanov Grigorov <mgrigorov@apache.org>
Roman [Thu, 4 Sep 2025 14:39:28 +0000 (11:39 -0300)]
sync: use `UnsafeCell::get_mut` in `Mutex::get_mut` and `RwLock::get_mut` (#7569)
Aatif Syed [Thu, 4 Sep 2025 10:31:49 +0000 (11:31 +0100)]
net: implement `AsRef<Self>` for `TcpStream` and `UnixStream` (#7573)
Sam [Wed, 3 Sep 2025 15:37:50 +0000 (16:37 +0100)]
sync: remove inner mutex in `SetOnce` (#7554)
Varun Doshi [Wed, 3 Sep 2025 11:38:51 +0000 (17:08 +0530)]
codec: add `{FramedRead,FramedWrite}::into_parts()` (#7566)
Daniel Sharifi [Sun, 31 Aug 2025 12:57:17 +0000 (12:57 +0000)]
time: clarify the cancellation safety of the `DelayQueue` (#7564)
Alex Bakon [Tue, 19 Aug 2025 11:42:55 +0000 (07:42 -0400)]
time: reduce the generated code size of `Timeout<T>::poll` (#7535)
Asger Hautop Drewsen [Fri, 15 Aug 2025 07:52:12 +0000 (09:52 +0200)]
task: implement `Ord` for `task::Id` (#7530)
Logan Praneis [Thu, 14 Aug 2025 01:25:55 +0000 (20:25 -0500)]
net: qualify that `SO_REUSEADDR` is only set on Unix (#7533)
CrazyFrog [Wed, 13 Aug 2025 10:57:45 +0000 (12:57 +0200)]
ci: update GitHub actions/checkout to v5 (#7529)
Noam Soloveichik [Mon, 11 Aug 2025 16:26:01 +0000 (19:26 +0300)]
net: clarify socket gets closed on drop (#7526)
Qi [Sun, 10 Aug 2025 12:31:09 +0000 (20:31 +0800)]
ci: remove a typo from `spellcheck.dic` (#7524)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
mxsm [Sat, 9 Aug 2025 14:29:43 +0000 (22:29 +0800)]
runtime: fix a typo in comment of `MAX_LIFO_POLLS_PER_TICK` (#7520)
Motoyuki Kimura [Fri, 8 Aug 2025 10:09:31 +0000 (19:09 +0900)]
ci: pin the rust version for wasm tests (#7518)
Qi [Fri, 8 Aug 2025 07:54:25 +0000 (15:54 +0800)]
task: inline the docs of `TaskTracker` while re-exporting it (#7516)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Motoyuki Kimura [Fri, 8 Aug 2025 07:51:42 +0000 (16:51 +0900)]
fs: add io_uring `open` operation (#7321)
Qi [Wed, 6 Aug 2025 01:01:27 +0000 (09:01 +0800)]
net: render the `cygwin` in the docs of `quickack` and `set_quickack` (#7515)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Luca Bruno [Mon, 4 Aug 2025 13:26:11 +0000 (15:26 +0200)]
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.
Motoyuki Kimura [Mon, 4 Aug 2025 10:36:17 +0000 (19:36 +0900)]
ci: fix clippy warnings triggered under specific cfg (#7495)
Michael Zhao [Sun, 3 Aug 2025 18:27:37 +0000 (11:27 -0700)]
process: upgrade `Command::spawn_with` to use `FnOnce` (#7511)
Conrad Ludgate [Sun, 3 Aug 2025 18:00:33 +0000 (19:00 +0100)]
task: fix flaky joinmap test during abort (#7509)
Alice Ryhl [Sun, 3 Aug 2025 09:12:41 +0000 (11:12 +0200)]
chore: prepare tokio-util v0.7.16 (#7507)
Conrad Ludgate [Sun, 3 Aug 2025 07:58:28 +0000 (08:58 +0100)]
task: stabilise `JoinMap` (#7075)
Alice Ryhl [Sun, 3 Aug 2025 07:42:30 +0000 (09:42 +0200)]
sync: document cancel safety on `SetOnce::wait` (#7506)
Lucas Black [Fri, 1 Aug 2025 19:26:33 +0000 (12:26 -0700)]
codec: also apply capacity to read buffer in `Framed::with_capacity` (#7500)
Alice Ryhl [Fri, 1 Aug 2025 11:21:45 +0000 (13:21 +0200)]
Merge 'tokio-1.47.1' into 'master'
Alice Ryhl [Fri, 1 Aug 2025 11:20:34 +0000 (13:20 +0200)]
chore: prepare Tokio v1.47.1 (#7504)
Alice Ryhl [Fri, 1 Aug 2025 10:59:58 +0000 (12:59 +0200)]
Merge 'tokio-1.43.2' into 'tokio-1.47.x' (#7503)
Alice Ryhl [Fri, 1 Aug 2025 10:57:50 +0000 (12:57 +0200)]
chore: prepare Tokio v1.43.2 (#7502)
Alice Ryhl [Fri, 1 Aug 2025 10:32:37 +0000 (12:32 +0200)]
blocking: clarify that spawn_blocking is aborted if not yet started (#7501)
Alice Ryhl [Thu, 31 Jul 2025 14:45:10 +0000 (16:45 +0200)]
readme: add 1.47 as LTS release (#7497)
(cherry picked from commit
ad2e19ffe193b7bce76eab9a51037089da4bc6dc )
Alice Ryhl [Fri, 1 Aug 2025 09:27:15 +0000 (11:27 +0200)]
process: fix panic from spurious pidfd wakeup (#7494)
Lucas Black [Fri, 1 Aug 2025 09:23:22 +0000 (02:23 -0700)]
codec: add `FramedWrite::with_capacity` (#7493)
Alice Ryhl [Fri, 1 Aug 2025 08:50:10 +0000 (10:50 +0200)]
ci: add lockfile for LTS branch
This is to fix CI failures from backtrace in rustdoc jobs.
Alice Ryhl [Thu, 31 Jul 2025 14:45:10 +0000 (16:45 +0200)]
readme: add 1.47 as LTS release (#7497)
Qi [Thu, 31 Jul 2025 11:58:01 +0000 (19:58 +0800)]
net: add `TcpStream::quickack` and `TcpStream::set_quickack` (#7490)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Motoyuki Kimura [Thu, 31 Jul 2025 11:52:28 +0000 (20:52 +0900)]
ci: add kernel-version-test workflow for io_uring tests (#7486)
Łukasz Sobczak [Tue, 29 Jul 2025 15:35:09 +0000 (17:35 +0200)]
sync: umplement `Stream::size_hint` for `ReceiverStream` and `UnboundedReceiverStream` (#7492)
yanyuxing [Tue, 29 Jul 2025 10:09:13 +0000 (18:09 +0800)]
future: add adapters of `CancellationToken` for `FutureExt` (#7475)
Luca Bruno [Tue, 29 Jul 2025 09:07:58 +0000 (11:07 +0200)]
net: add `SocketAddr::as_abstract_name` (#7491)
Jess Izen [Tue, 29 Jul 2025 05:40:57 +0000 (22:40 -0700)]
metrics: reorder metrics to be grouped by cfg-gates (#7453)
James Kay [Mon, 28 Jul 2025 11:59:00 +0000 (12:59 +0100)]
macros: add "local" runtime flavor (#7375)
tkoyasak [Sun, 27 Jul 2025 00:28:24 +0000 (09:28 +0900)]
sync: fix broken link of Python `asyncio.Event` in `SetOnce` docs (#7485)
tkoyasak [Sun, 27 Jul 2025 00:24:09 +0000 (09:24 +0900)]
changelog: fix incorrect PR number for 1.47.0 (#7484)
Daksh [Sat, 26 Jul 2025 14:50:58 +0000 (10:50 -0400)]
chore: prepare Tokio v1.47.0 (#7482)
Aria Andika [Sat, 26 Jul 2025 13:45:34 +0000 (20:45 +0700)]
sync: add `sync::Notify::notified_owned()` (#7465)
Daksh [Fri, 25 Jul 2025 08:29:14 +0000 (04:29 -0400)]
sync: add `SetOnce` (#7418)
Conrad Ludgate [Tue, 22 Jul 2025 13:52:54 +0000 (14:52 +0100)]
task: remove raw-entry feature from hashbrown dep (#7252)
Qi [Mon, 21 Jul 2025 01:48:04 +0000 (09:48 +0800)]
ci: unfreeze wasm-unknown-unknown from rustc 1.81 (#7471)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Co-authored-by: Taiki Endo <te316e89@gmail.com>
Taiki Endo [Sun, 20 Jul 2025 08:19:26 +0000 (17:19 +0900)]
ci: use ubuntu-24.04-arm instead of ubuntu-22.04-arm (#7470)
Stepan Tubanov [Sun, 20 Jul 2025 02:03:29 +0000 (06:03 +0400)]
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 <lucab@lucabruno.net>
Qi [Mon, 14 Jul 2025 08:28:02 +0000 (16:28 +0800)]
sync: remove duplicated code in `OnceCell` tests (#7458)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Qi [Sat, 12 Jul 2025 14:37:21 +0000 (22:37 +0800)]
ci: cleanup legacy `R-loom-multi-thread-alt` label from the labeler (#7457)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Pepijn Van Eeckhoudt [Fri, 11 Jul 2025 08:07:44 +0000 (10:07 +0200)]
coop: add `cooperative` and `poll_proceed` (#7405)
Jess Izen [Wed, 9 Jul 2025 13:03:22 +0000 (06:03 -0700)]
metrics: properly annotate required features for 64-bit-only metrics (#7449)