]>
git.feebdaed.xyz Git - 0xmirror/tokio.git/log
vrtgs [Wed, 24 Dec 2025 15:18:25 +0000 (18:18 +0300)]
fs: handle `EINTR` in `fs::write` for io-uring (#7786)
Qi [Wed, 24 Dec 2025 02:07:28 +0000 (10:07 +0800)]
ci: fix wasm32-wasip1 tests (#7788)
xibeiyoumian [Tue, 23 Dec 2025 12:24:13 +0000 (20:24 +0800)]
chore: fix some minor typos in the comments (#7785)
Signed-off-by: xibeiyoumian <xibeiyoumian@outlook.com>
Aaron Chen [Sun, 21 Dec 2025 10:42:14 +0000 (18:42 +0800)]
macros: remove `extern crate proc_macro` (#7783)
Clara Engler [Sat, 20 Dec 2025 09:09:00 +0000 (10:09 +0100)]
readme: remove TokioConf 2026 CFP announcement (#7774)
Qi [Thu, 18 Dec 2025 12:35:01 +0000 (20:35 +0800)]
io: add `tokio_util::io::simplex` (#7565)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Qi [Thu, 18 Dec 2025 11:21:59 +0000 (19:21 +0800)]
sync: clarify the cancellation safety of `oneshot::Receiver` (#7780)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
Qi [Tue, 16 Dec 2025 11:02:09 +0000 (19:02 +0800)]
task: stabilize the `LocalSet::id()` (#7776)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Chinedu Francis Nwafili [Mon, 15 Dec 2025 16:29:10 +0000 (11:29 -0500)]
runtime: stabilize `runtime::id::Id` (#7125)
Clara Engler [Mon, 15 Dec 2025 02:02:13 +0000 (03:02 +0100)]
net: clarify the cancellation safety of the `TcpStream::peek` (#7305)
Owen Griffiths [Fri, 12 Dec 2025 15:22:17 +0000 (15:22 +0000)]
io: document the default capacity of the `ReaderStream` (#7147)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Co-authored-by: Qi <add_sp@outlook.com>
Qi [Mon, 8 Dec 2025 10:39:29 +0000 (18:39 +0800)]
macros: fix the hygiene issue of `join!` and `try_join!` (#7766)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Mattia Pitossi [Sun, 7 Dec 2025 11:10:54 +0000 (12:10 +0100)]
docs: break up `CONTRIBUTING.md` into several parts (#7762)
Daksh [Fri, 5 Dec 2025 07:57:32 +0000 (13:27 +0530)]
fs: support io_uring with `tokio::fs::read` (#7696)
Tethys Svensson [Fri, 5 Dec 2025 02:24:29 +0000 (03:24 +0100)]
stream: work around the rustc bug in `StreamExt::collect` (#7754)
Martin Grigorov [Thu, 4 Dec 2025 08:52:29 +0000 (10:52 +0200)]
ci: upgrade FreeBSD from 14.2 to 14.3 (#7758)
14.2 is no more available:
```
$ gcloud compute images list --project freebsd-org-cloud-dev --no-standard-images
NAME PROJECT FAMILY DEPRECATED STATUS
freebsd-13-5-release-amd64-gce freebsd-org-cloud-dev freebsd-13-5 READY
freebsd-13-5-stable-amd64-v20251030 freebsd-org-cloud-dev freebsd-13-5-snap READY
freebsd-13-5-stable-amd64-v20251107 freebsd-org-cloud-dev freebsd-13-5-snap READY
freebsd-14-3-release-amd64-ufs-gce freebsd-org-cloud-dev freebsd-14-3 READY
freebsd-14-3-stable-amd64-ufs-
20251120 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-ufs-
20251127 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-zfs-
20251113 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-zfs-
20251120 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-14-3-stable-amd64-zfs-
20251127 freebsd-org-cloud-dev freebsd-14-3-snap READY
freebsd-15-0-release-amd64-ufs freebsd-org-cloud-dev freebsd-15-0-amd64-ufs READY
freebsd-15-0-release-amd64-zfs freebsd-org-cloud-dev freebsd-15-0-amd64-zfs READY
freebsd-15-0-stable-amd64-ufs-
20251120 freebsd-org-cloud-dev freebsd-15-0-amd64-ufs-snap READY
freebsd-15-0-stable-amd64-ufs-
20251127 freebsd-org-cloud-dev freebsd-15-0-amd64-ufs-snap READY
freebsd-15-0-stable-amd64-zfs-
20251120 freebsd-org-cloud-dev freebsd-15-0-amd64-zfs-snap READY
freebsd-15-0-stable-amd64-zfs-
20251127 freebsd-org-cloud-dev freebsd-15-0-amd64-zfs-snap READY
freebsd-16-0-current-amd64-ufs-
20251110 freebsd-org-cloud-dev freebsd-16-0-snap READY
freebsd-16-0-current-amd64-zfs-
20251110 freebsd-org-cloud-dev freebsd-16-0-snap READY
freebsd-16-0-current-arm64-aarch64-ufs-
20251111 freebsd-org-cloud-dev freebsd-16-0-snap READY
freebsd-16-0-current-arm64-aarch64-zfs-
20251111 freebsd-org-cloud-dev freebsd-16-0-snap READY
```
Alex Gaynor [Wed, 3 Dec 2025 09:20:50 +0000 (04:20 -0500)]
benches: add spawn_blocking concurrency benchmark (#7748)
Alice Ryhl [Tue, 2 Dec 2025 12:15:48 +0000 (13:15 +0100)]
net: deprecate `{TcpStream,TcpSocket}::set_linger` (#7752)
Mattia Pitossi [Sat, 29 Nov 2025 10:06:33 +0000 (11:06 +0100)]
time: update outdated docs of `Wheel` (#7749)
Ralf Jung [Sat, 29 Nov 2025 07:08:47 +0000 (08:08 +0100)]
tokio: enable more tests in Miri (#7734)
Qi [Thu, 27 Nov 2025 01:29:28 +0000 (09:29 +0800)]
time: add alternative timer for better multicore scalability (#7467)
This change introduces per-worker timer wheels in the time subsystem
to reduce the lock contention.
Key changes:
- Each worker now maintains a local timer wheel.
- Timer insertions are performed locally.
- Timer cancellations are forwarded via a
dedicated cross-worker cancellation queue.
Relevant RFC: https://github.com/tokio-rs/tokio/issues/7384
---------
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Elichai Turkel [Tue, 25 Nov 2025 10:31:21 +0000 (12:31 +0200)]
task: implement `Extend` for `JoinSet` (#7195)
jinronga [Tue, 25 Nov 2025 06:44:41 +0000 (14:44 +0800)]
refactor: introduce constants for default addresses and improve error handling in TCP examples (#7741)
- Added `DEFAULT_ADDR` constant to `chat.rs` and `echo-tcp.rs` for better maintainability.
- Enhanced error logging in `connect-tcp.rs` and `echo-tcp.rs` to include connection addresses.
- Improved peer management in `chat.rs` by automatically cleaning up disconnected peers.
Paolo Barbolini [Sun, 23 Nov 2025 09:26:48 +0000 (10:26 +0100)]
io: replace `Result<T, io::Error>` with `io::Result<T>` in `AsyncWrite` (#7740)
Mohamed Macow [Sun, 23 Nov 2025 09:18:24 +0000 (10:18 +0100)]
net: clarify the drop behavior of `unix::OwnedWriteHalf` (#7742)
Seaker [Sun, 16 Nov 2025 10:44:35 +0000 (10:44 +0000)]
net: clarify the platform-dependent backlog in `TcpSocket` docs (#7738)
Mattia Pitossi [Sat, 15 Nov 2025 10:43:02 +0000 (11:43 +0100)]
sync: fix a typo in the docs of `PollSender::is_closed` (#7737)
Qi [Thu, 13 Nov 2025 09:47:34 +0000 (17:47 +0800)]
deps: bump `tokio` to `1.44.0` (#7733)
Mattia Pitossi [Wed, 12 Nov 2025 11:33:24 +0000 (12:33 +0100)]
docs: fix typos in README (#7731)
Carl Lerche [Wed, 12 Nov 2025 06:53:40 +0000 (22:53 -0800)]
chore: add TokioConf 2026 CFP announcement (#7730)
* chore: add TokioConf 2026 CFP announcement
* sync readmes
Qi [Sun, 9 Nov 2025 16:53:16 +0000 (00:53 +0800)]
ci: bump miri to `nightly-2025-11-09` (#7726)
Qi [Sun, 9 Nov 2025 11:35:08 +0000 (19:35 +0800)]
tokio: enable the `unsafe_op_in_unsafe_fn` lint at the crate level (#7711)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Mattia Pitossi [Sat, 8 Nov 2025 22:49:09 +0000 (23:49 +0100)]
util: use `<ptr>::addr` instead of unsafe impl (#7725)
Motoyuki Kimura [Sat, 8 Nov 2025 09:13:12 +0000 (18:13 +0900)]
runtime: disable io-uring on `EPERM` (#7724)
Muhamad Awad [Thu, 6 Nov 2025 12:15:10 +0000 (13:15 +0100)]
stream: add `ChunksTimeout::into_remainder` (#7715)
Benjamin Ran [Thu, 6 Nov 2025 11:20:08 +0000 (13:20 +0200)]
util: enable loom tests (#7644)
Co-authored-by: Benjamin Ran <benjaminran@Benjamins-MacBook-Pro-3.local>
Ari Seyhun [Wed, 5 Nov 2025 12:45:13 +0000 (23:45 +1100)]
sync: improve the docs for the errors of mpsc (#7722)
* docs: fix documentation comments for mpsc error enums
* docs: improve code docs for `TryRecvError`
* docs: improve code docs for mpsc `SendError`
Qi [Tue, 4 Nov 2025 10:15:29 +0000 (18:15 +0800)]
task: remove unnecessary trait bounds on the `Debug` implementation (#7720)
Remove the trait bounds of the `Debug` impl for `JoinQueue`
and `AbortOnDropHandle`.
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Ari Seyhun [Mon, 3 Nov 2025 13:20:25 +0000 (00:20 +1100)]
sync: add missing period to `mpsc::Sender::try_send` docs (#7721)
Qi [Sun, 2 Nov 2025 14:33:25 +0000 (22:33 +0800)]
chore: prepare tokio-util v0.7.17 (#7719)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Conrad Ludgate [Wed, 29 Oct 2025 12:08:13 +0000 (12:08 +0000)]
codec: remove unnecessary trait bounds on all `Framed` constructors (#7716)
Daksh [Fri, 24 Oct 2025 20:17:17 +0000 (01:47 +0530)]
io_uring: change `Completable` to not return io::Result (#7702)
Alice Ryhl [Thu, 23 Oct 2025 10:07:02 +0000 (12:07 +0200)]
io: doc that `AsyncWrite` does not inherit from `Write` (#7705)
Alice Ryhl [Tue, 21 Oct 2025 10:59:05 +0000 (12:59 +0200)]
runtime: revert "replace manual vtable definitions with `Wake`" (#7699)
This reverts commit
4380de9fe9e0938790a2c06f4bdaa8bd91c08ed1 .
Mattia Pitossi [Mon, 20 Oct 2025 12:43:41 +0000 (14:43 +0200)]
task: add tests for `task::Builder::spawn_local` (#7697)
Qi [Mon, 20 Oct 2025 12:25:00 +0000 (20:25 +0800)]
task: add tests for `spawn_local` in panic scenarios (#7694)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Alice Ryhl [Mon, 20 Oct 2025 11:15:04 +0000 (13:15 +0200)]
task: use `#[tokio::test]` explicitly in `tests/task_builder.rs` (#7698)
KR-bluejay [Sat, 18 Oct 2025 10:57:07 +0000 (19:57 +0900)]
sync: return `TryRecvError::Disconnected` from `Receiver::try_recv` after `Receiver::close` (#7686)
FrancescoV1985 [Thu, 16 Oct 2025 15:44:57 +0000 (17:44 +0200)]
task: add tests for `spawn_local` and `spawn_local_on` (#7609)
Add tests for task collections (TaskTracker, JoinSet, JoinMap).
Mattia Pitossi [Thu, 16 Oct 2025 15:13:16 +0000 (17:13 +0200)]
task: add example for `spawn_local` usage on local runtime (#7689)
Mattia Pitossi [Wed, 15 Oct 2025 19:09:46 +0000 (21:09 +0200)]
runtime: add tests for spawn local on multi and current runtimes (#7687)
Alice Ryhl [Wed, 15 Oct 2025 12:17:56 +0000 (14:17 +0200)]
process: remove obsolete `allow(deprecated)` from `is_rt_shutdown_err` (#7685)
Alice Ryhl [Tue, 14 Oct 2025 18:27:47 +0000 (20:27 +0200)]
Merge 'tokio-1.47.2' into 'master' (#7683)
Qi [Tue, 14 Oct 2025 15:36:51 +0000 (23:36 +0800)]
chore: prepare Tokio v1.47.2 (#7681)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Jess Izen [Sun, 21 Sep 2025 05:47:22 +0000 (01:47 -0400)]
macros: fix the hygiene issue of `join!` and `try_join!` (#7638)
(cherry picked from commit
eb99e476e674f81095e2f8f15cbc92f8650f5364 )
Qi [Tue, 14 Oct 2025 16:11:42 +0000 (00:11 +0800)]
ci: add lockfile for LTS branch
This is to lock the following dependencies:
- `parking_lot_core` to `0.9.11`
- `parking_lot` to `0.12.4`
- `lock_api` to `0.4.13`
See <https://github.com/tokio-rs/tokio/issues/7653>
for more details.
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Qi [Tue, 14 Oct 2025 16:10:36 +0000 (00:10 +0800)]
Merge 'tokio-1.43.3' into 'tokio-1.47.x'
Qi [Tue, 14 Oct 2025 14:42:38 +0000 (22:42 +0800)]
chore: prepare Tokio v1.43.3
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Qi [Tue, 14 Oct 2025 14:53:39 +0000 (22:53 +0800)]
deps: bump the locked slap to `0.4.11`
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Qi [Tue, 14 Oct 2025 14:50:06 +0000 (22:50 +0800)]
deps: bump the locked tracing-subscriber to `0.3.20`
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Alice Ryhl [Mon, 13 Oct 2025 14:45:51 +0000 (16:45 +0200)]
process: fix error when runtime is shut down on nightly-2025-10-12 (#7672)
(cherry picked from commit
9e5527d1d5eadbeed46f4d5d4eb22cd96c72a39a )
Martin Grigorov [Sat, 20 Sep 2025 06:44:55 +0000 (09:44 +0300)]
sync: close the `broadcast::Sender` in `broadcast::Sender::new()` (#7629)
(cherry picked from commit
6d1ae6286880c828c13efb5f11b60c18fb94f947 )
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)
(cherry picked from commit
67869be3d75c58f9b84bc469e00439b70aff0516 )
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>
(cherry picked from commit
2af3e4430a8c546d5273e0bac669fd6696431e89 )
Motoyuki Kimura [Fri, 8 Aug 2025 10:09:31 +0000 (19:09 +0900)]
ci: pin the rust version for wasm tests (#7518)
(cherry picked from commit
987675e84353d32f6c11f6fe738f247669717a3b )
Alice Ryhl [Tue, 14 Oct 2025 13:07:25 +0000 (15:07 +0200)]
chore: prepare Tokio v1.48.0 (#7677)
Alice Ryhl [Tue, 14 Oct 2025 12:24:54 +0000 (14:24 +0200)]
chore: prepare tokio-macros v2.6.0 (#7676)
Alice Ryhl [Tue, 14 Oct 2025 10:31:22 +0000 (12:31 +0200)]
ci: update nightly version to 2025-10-12 (#7670)
Alice Ryhl [Mon, 13 Oct 2025 14:45:51 +0000 (16:45 +0200)]
process: fix error when runtime is shut down on nightly-2025-10-12 (#7672)
Sean McArthur [Mon, 13 Oct 2025 21:02:37 +0000 (17:02 -0400)]
net: remove PollEvented noise from Debug formats (#7675)
Mattia Pitossi [Sun, 12 Oct 2025 02:46:23 +0000 (04:46 +0200)]
task: clarify the behavior of several `spawn_local` methods (#7669)
Denis Davydov [Fri, 10 Oct 2025 15:06:13 +0000 (16:06 +0100)]
fs: use `FileOptions` inside `fs::File` to support uring (#7617)
tottoto [Fri, 10 Oct 2025 14:55:48 +0000 (23:55 +0900)]
ci: remove cargo-deny Unicode-DFS-2016 license exception config (#7619)
Qi [Fri, 10 Oct 2025 03:31:41 +0000 (11:31 +0800)]
tokio: use cargo feature for taskdump support instead of cfg (#7655)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Co-authored-by: Alice Ryhl <aliceryhl@google.com>
Samuele [Fri, 10 Oct 2025 02:01:17 +0000 (04:01 +0200)]
runtime: clarify the behavior of `Handle::block_on` (#7665)
tison [Thu, 9 Oct 2025 08:19:27 +0000 (16:19 +0800)]
task: add `LocalKey::try_get` (#7666)
Signed-off-by: tison <wander4096@gmail.com>
whollins [Tue, 7 Oct 2025 08:40:42 +0000 (09:40 +0100)]
deps: bump windows-sys to version 0.61 (#7645)
Qi [Mon, 6 Oct 2025 11:34:56 +0000 (19:34 +0800)]
tokio: fix the docs of feature flag (#7663)
Signed-off-by: ADD-SP <qiqi.zhang@konghq.com>
Mattia [Sun, 5 Oct 2025 07:14:38 +0000 (09:14 +0200)]
sync: improve the docs of `UnboundedSender::send` (#7661)
Motoyuki Kimura [Thu, 2 Oct 2025 11:01:18 +0000 (20:01 +0900)]
fs: support io_uring in `fs::write` (#7567)
Alice Ryhl [Thu, 2 Oct 2025 09:14:17 +0000 (11:14 +0200)]
tokio: raise MSRV to 1.71 (#7658)
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)