]> git.feebdaed.xyz Git - 0xmirror/tokio.git/log
0xmirror/tokio.git
6 days agomacros: remove `extern crate proc_macro` (#7783)
Aaron Chen [Sun, 21 Dec 2025 10:42:14 +0000 (18:42 +0800)]
macros: remove `extern crate proc_macro` (#7783)

7 days agoreadme: remove TokioConf 2026 CFP announcement (#7774)
Clara Engler [Sat, 20 Dec 2025 09:09:00 +0000 (10:09 +0100)]
readme: remove TokioConf 2026 CFP announcement (#7774)

9 days agoio: add `tokio_util::io::simplex` (#7565)
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>
9 days agosync: clarify the cancellation safety of `oneshot::Receiver` (#7780)
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>
11 days agotask: stabilize the `LocalSet::id()` (#7776)
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>
12 days agoruntime: stabilize `runtime::id::Id` (#7125)
Chinedu Francis Nwafili [Mon, 15 Dec 2025 16:29:10 +0000 (11:29 -0500)]
runtime: stabilize `runtime::id::Id` (#7125)

12 days agonet: clarify the cancellation safety of the `TcpStream::peek` (#7305)
Clara Engler [Mon, 15 Dec 2025 02:02:13 +0000 (03:02 +0100)]
net: clarify the cancellation safety of the `TcpStream::peek` (#7305)

2 weeks agoio: document the default capacity of the `ReaderStream` (#7147)
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>
2 weeks agomacros: fix the hygiene issue of `join!` and `try_join!` (#7766)
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>
2 weeks agodocs: break up `CONTRIBUTING.md` into several parts (#7762)
Mattia Pitossi [Sun, 7 Dec 2025 11:10:54 +0000 (12:10 +0100)]
docs: break up `CONTRIBUTING.md` into several parts (#7762)

3 weeks agofs: support io_uring with `tokio::fs::read` (#7696)
Daksh [Fri, 5 Dec 2025 07:57:32 +0000 (13:27 +0530)]
fs: support io_uring with `tokio::fs::read` (#7696)

3 weeks agostream: work around the rustc bug in `StreamExt::collect` (#7754)
Tethys Svensson [Fri, 5 Dec 2025 02:24:29 +0000 (03:24 +0100)]
stream: work around the rustc bug in `StreamExt::collect` (#7754)

3 weeks agoci: upgrade FreeBSD from 14.2 to 14.3 (#7758)
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
```

3 weeks agobenches: add spawn_blocking concurrency benchmark (#7748)
Alex Gaynor [Wed, 3 Dec 2025 09:20:50 +0000 (04:20 -0500)]
benches: add spawn_blocking concurrency benchmark (#7748)

3 weeks agonet: deprecate `{TcpStream,TcpSocket}::set_linger` (#7752)
Alice Ryhl [Tue, 2 Dec 2025 12:15:48 +0000 (13:15 +0100)]
net: deprecate `{TcpStream,TcpSocket}::set_linger` (#7752)

4 weeks agotime: update outdated docs of `Wheel` (#7749)
Mattia Pitossi [Sat, 29 Nov 2025 10:06:33 +0000 (11:06 +0100)]
time: update outdated docs of `Wheel` (#7749)

4 weeks agotokio: enable more tests in Miri (#7734)
Ralf Jung [Sat, 29 Nov 2025 07:08:47 +0000 (08:08 +0100)]
tokio: enable more tests in Miri (#7734)

4 weeks agotime: add alternative timer for better multicore scalability (#7467)
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>
4 weeks agotask: implement `Extend` for `JoinSet` (#7195)
Elichai Turkel [Tue, 25 Nov 2025 10:31:21 +0000 (12:31 +0200)]
task: implement `Extend` for `JoinSet` (#7195)

4 weeks agorefactor: introduce constants for default addresses and improve error handling in...
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.

4 weeks agoio: replace `Result<T, io::Error>` with `io::Result<T>` in `AsyncWrite` (#7740)
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)

4 weeks agonet: clarify the drop behavior of `unix::OwnedWriteHalf` (#7742)
Mohamed Macow [Sun, 23 Nov 2025 09:18:24 +0000 (10:18 +0100)]
net: clarify the drop behavior of `unix::OwnedWriteHalf` (#7742)

5 weeks agonet: clarify the platform-dependent backlog in `TcpSocket` docs (#7738)
Seaker [Sun, 16 Nov 2025 10:44:35 +0000 (10:44 +0000)]
net: clarify the platform-dependent backlog in `TcpSocket` docs (#7738)

6 weeks agosync: fix a typo in the docs of `PollSender::is_closed` (#7737)
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)

6 weeks agodeps: bump `tokio` to `1.44.0` (#7733)
Qi [Thu, 13 Nov 2025 09:47:34 +0000 (17:47 +0800)]
deps: bump `tokio` to `1.44.0` (#7733)

6 weeks agodocs: fix typos in README (#7731)
Mattia Pitossi [Wed, 12 Nov 2025 11:33:24 +0000 (12:33 +0100)]
docs: fix typos in README (#7731)

6 weeks agochore: add TokioConf 2026 CFP announcement (#7730)
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

6 weeks agoci: bump miri to `nightly-2025-11-09` (#7726)
Qi [Sun, 9 Nov 2025 16:53:16 +0000 (00:53 +0800)]
ci: bump miri to `nightly-2025-11-09` (#7726)

6 weeks agotokio: enable the `unsafe_op_in_unsafe_fn` lint at the crate level (#7711)
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>
6 weeks agoutil: use `<ptr>::addr` instead of unsafe impl (#7725)
Mattia Pitossi [Sat, 8 Nov 2025 22:49:09 +0000 (23:49 +0100)]
util: use `<ptr>::addr` instead of unsafe impl (#7725)

7 weeks agoruntime: disable io-uring on `EPERM` (#7724)
Motoyuki Kimura [Sat, 8 Nov 2025 09:13:12 +0000 (18:13 +0900)]
runtime: disable io-uring on `EPERM` (#7724)

7 weeks agostream: add `ChunksTimeout::into_remainder` (#7715)
Muhamad Awad [Thu, 6 Nov 2025 12:15:10 +0000 (13:15 +0100)]
stream: add `ChunksTimeout::into_remainder` (#7715)

7 weeks agoutil: enable loom tests (#7644)
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>
7 weeks agosync: improve the docs for the errors of mpsc (#7722)
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`

7 weeks agotask: remove unnecessary trait bounds on the `Debug` implementation (#7720)
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>
7 weeks agosync: add missing period to `mpsc::Sender::try_send` docs (#7721)
Ari Seyhun [Mon, 3 Nov 2025 13:20:25 +0000 (00:20 +1100)]
sync: add missing period to `mpsc::Sender::try_send` docs (#7721)

7 weeks agochore: prepare tokio-util v0.7.17 (#7719)
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>
8 weeks agocodec: remove unnecessary trait bounds on all `Framed` constructors (#7716)
Conrad Ludgate [Wed, 29 Oct 2025 12:08:13 +0000 (12:08 +0000)]
codec: remove unnecessary trait bounds on all `Framed` constructors (#7716)

2 months agoio_uring: change `Completable` to not return io::Result (#7702)
Daksh [Fri, 24 Oct 2025 20:17:17 +0000 (01:47 +0530)]
io_uring: change `Completable` to not return io::Result (#7702)

2 months agoio: doc that `AsyncWrite` does not inherit from `Write` (#7705)
Alice Ryhl [Thu, 23 Oct 2025 10:07:02 +0000 (12:07 +0200)]
io: doc that `AsyncWrite` does not inherit from `Write` (#7705)

2 months agoruntime: revert "replace manual vtable definitions with `Wake`" (#7699)
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.

2 months agotask: add tests for `task::Builder::spawn_local` (#7697)
Mattia Pitossi [Mon, 20 Oct 2025 12:43:41 +0000 (14:43 +0200)]
task: add tests for `task::Builder::spawn_local` (#7697)

2 months agotask: add tests for `spawn_local` in panic scenarios (#7694)
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>
2 months agotask: use `#[tokio::test]` explicitly in `tests/task_builder.rs` (#7698)
Alice Ryhl [Mon, 20 Oct 2025 11:15:04 +0000 (13:15 +0200)]
task: use `#[tokio::test]` explicitly in `tests/task_builder.rs` (#7698)

2 months agosync: return `TryRecvError::Disconnected` from `Receiver::try_recv` after `Receiver...
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)

2 months agotask: add tests for `spawn_local` and `spawn_local_on` (#7609)
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).

2 months agotask: add example for `spawn_local` usage on local runtime (#7689)
Mattia Pitossi [Thu, 16 Oct 2025 15:13:16 +0000 (17:13 +0200)]
task: add example for `spawn_local` usage on local runtime (#7689)

2 months agoruntime: add tests for spawn local on multi and current runtimes (#7687)
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)

2 months agoprocess: remove obsolete `allow(deprecated)` from `is_rt_shutdown_err` (#7685)
Alice Ryhl [Wed, 15 Oct 2025 12:17:56 +0000 (14:17 +0200)]
process: remove obsolete `allow(deprecated)` from `is_rt_shutdown_err` (#7685)

2 months agoMerge 'tokio-1.47.2' into 'master' (#7683)
Alice Ryhl [Tue, 14 Oct 2025 18:27:47 +0000 (20:27 +0200)]
Merge 'tokio-1.47.2' into 'master' (#7683)

2 months agochore: prepare Tokio v1.47.2 (#7681)
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>
2 months agomacros: fix the hygiene issue of `join!` and `try_join!` (#7638)
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)

2 months agoci: add lockfile for LTS branch
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>
2 months agoMerge 'tokio-1.43.3' into 'tokio-1.47.x'
Qi [Tue, 14 Oct 2025 16:10:36 +0000 (00:10 +0800)]
Merge 'tokio-1.43.3' into 'tokio-1.47.x'

2 months agochore: prepare Tokio v1.43.3
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>
2 months agodeps: bump the locked slap to `0.4.11`
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>
2 months agodeps: bump the locked tracing-subscriber to `0.3.20`
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>
2 months agoprocess: fix error when runtime is shut down on nightly-2025-10-12 (#7672)
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)

2 months agosync: close the `broadcast::Sender` in `broadcast::Sender::new()` (#7629)
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)

2 months agoruntime: use release in `wake_by_ref()` even if already woken (#7622)
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)

2 months agoci: update macros_type_mismatch for Rust 1.90.0 (#7630)
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)

2 months agoci: pin the rust version for wasm tests (#7518)
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)

2 months agochore: prepare Tokio v1.48.0 (#7677)
Alice Ryhl [Tue, 14 Oct 2025 13:07:25 +0000 (15:07 +0200)]
chore: prepare Tokio v1.48.0 (#7677)

2 months agochore: prepare tokio-macros v2.6.0 (#7676)
Alice Ryhl [Tue, 14 Oct 2025 12:24:54 +0000 (14:24 +0200)]
chore: prepare tokio-macros v2.6.0 (#7676)

2 months agoci: update nightly version to 2025-10-12 (#7670)
Alice Ryhl [Tue, 14 Oct 2025 10:31:22 +0000 (12:31 +0200)]
ci: update nightly version to 2025-10-12 (#7670)

2 months agoprocess: fix error when runtime is shut down on nightly-2025-10-12 (#7672)
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)

2 months agonet: remove PollEvented noise from Debug formats (#7675)
Sean McArthur [Mon, 13 Oct 2025 21:02:37 +0000 (17:02 -0400)]
net: remove PollEvented noise from Debug formats (#7675)

2 months agotask: clarify the behavior of several `spawn_local` methods (#7669)
Mattia Pitossi [Sun, 12 Oct 2025 02:46:23 +0000 (04:46 +0200)]
task: clarify the behavior of several `spawn_local` methods (#7669)

2 months agofs: use `FileOptions` inside `fs::File` to support uring (#7617)
Denis Davydov [Fri, 10 Oct 2025 15:06:13 +0000 (16:06 +0100)]
fs: use `FileOptions` inside `fs::File` to support uring (#7617)

2 months agoci: remove cargo-deny Unicode-DFS-2016 license exception config (#7619)
tottoto [Fri, 10 Oct 2025 14:55:48 +0000 (23:55 +0900)]
ci: remove cargo-deny Unicode-DFS-2016 license exception config (#7619)

2 months agotokio: use cargo feature for taskdump support instead of cfg (#7655)
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>
2 months agoruntime: clarify the behavior of `Handle::block_on` (#7665)
Samuele [Fri, 10 Oct 2025 02:01:17 +0000 (04:01 +0200)]
runtime: clarify the behavior of `Handle::block_on` (#7665)

2 months agotask: add `LocalKey::try_get` (#7666)
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>
2 months agodeps: bump windows-sys to version 0.61 (#7645)
whollins [Tue, 7 Oct 2025 08:40:42 +0000 (09:40 +0100)]
deps: bump windows-sys to version 0.61 (#7645)

2 months agotokio: fix the docs of feature flag (#7663)
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>
2 months agosync: improve the docs of `UnboundedSender::send` (#7661)
Mattia [Sun, 5 Oct 2025 07:14:38 +0000 (09:14 +0200)]
sync: improve the docs of `UnboundedSender::send` (#7661)

2 months ago fs: support io_uring in `fs::write` (#7567)
Motoyuki Kimura [Thu, 2 Oct 2025 11:01:18 +0000 (20:01 +0900)]
 fs: support io_uring in `fs::write` (#7567)

2 months agotokio: raise MSRV to 1.71 (#7658)
Alice Ryhl [Thu, 2 Oct 2025 09:14:17 +0000 (11:14 +0200)]
tokio: raise MSRV to 1.71 (#7658)

2 months agomacros: suppress `clippy::unwrap_in_result` in `#[tokio::main]` (#7651)
Ruiyang Sun [Thu, 2 Oct 2025 08:53:25 +0000 (16:53 +0800)]
macros: suppress `clippy::unwrap_in_result` in `#[tokio::main]` (#7651)

2 months agotask: simplify the example of `TaskTracker` (#7657)
Tudyx [Thu, 2 Oct 2025 07:07:28 +0000 (09:07 +0200)]
task: simplify the example of `TaskTracker` (#7657)

2 months agoruntime: add guide for choosing between runtime types (#7635)
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>
2 months agosync: clarify bounded channel panic behavior (#7641)
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>
2 months agodocs: fix some docs links (#7654)
Alice Ryhl [Tue, 30 Sep 2025 12:35:46 +0000 (14:35 +0200)]
docs: fix some docs links (#7654)

2 months agofs: emit compilation error without `tokio_unstable` for `io-uring` (#7634)
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>
2 months agoci: freeze rustc on nightly-2025-01-25 in `netlify.toml` (#7652)
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>
3 months agoci: unfreeze wasm tests from rustc 1.88.0 (#7537)
Lucas Black [Fri, 26 Sep 2025 13:29:01 +0000 (06:29 -0700)]
ci: unfreeze wasm tests from rustc 1.88.0 (#7537)

3 months agotask: add `try_join_next` and `try_join_next_with_id` on `JoinQueue` (#7636)
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)

3 months agotokio: fix typos in `tokio/CHANGELOG.md` (#7643)
Martin Grigorov [Tue, 23 Sep 2025 14:12:41 +0000 (17:12 +0300)]
tokio: fix typos in `tokio/CHANGELOG.md` (#7643)

3 months agomacros: fix the hygiene issue of `join!` and `try_join!` (#7638)
Jess Izen [Sun, 21 Sep 2025 05:47:22 +0000 (01:47 -0400)]
macros: fix the hygiene issue of `join!` and `try_join!` (#7638)

3 months agosync: clarify the behavior of `tokio::sync::watch::Receiver` (#7584)
Daniel Sharifi [Sat, 20 Sep 2025 14:02:56 +0000 (14:02 +0000)]
sync: clarify the behavior of `tokio::sync::watch::Receiver` (#7584)

3 months agotask: add `tokio_util::task::JoinQueue` (#7590)
Nikolai Kuklin [Sat, 20 Sep 2025 07:38:59 +0000 (09:38 +0200)]
task: add `tokio_util::task::JoinQueue` (#7590)

3 months agosync: close the `broadcast::Sender` in `broadcast::Sender::new()` (#7629)
Martin Grigorov [Sat, 20 Sep 2025 06:44:55 +0000 (09:44 +0300)]
sync: close the `broadcast::Sender` in `broadcast::Sender::new()` (#7629)

3 months agofs: use the Cargo feature for io-uring support instead of cfg (#7621)
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>
3 months agoci: update macros_type_mismatch for Rust 1.90.0 (#7630)
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>
3 months agoruntime: use release in `wake_by_ref()` even if already woken (#7622)
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)

3 months agonet: clarify the supported platform of `set_reuseport()` and `reuseport()` (#7628)
Vaibhav Gupta [Wed, 17 Sep 2025 13:10:10 +0000 (18:40 +0530)]
net: clarify the supported platform of `set_reuseport()` and `reuseport()` (#7628)

3 months agoruntime: clarify the edge case of `Builder::global_queue_interval()` (#7605)
Martin Grigorov [Tue, 16 Sep 2025 13:41:18 +0000 (16:41 +0300)]
runtime: clarify the edge case of `Builder::global_queue_interval()` (#7605)

3 months agosync: improve the docs of `sync::watch` (#7601)
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>
3 months agoexamples: bump `http` crate from `0.2` to `1` (#7618)
tottoto [Mon, 15 Sep 2025 10:22:57 +0000 (19:22 +0900)]
examples: bump `http` crate from `0.2` to `1` (#7618)

3 months agotask: clarify the task ID reuse guarantees (#7577)
Sean Oxley [Mon, 15 Sep 2025 10:18:16 +0000 (19:18 +0900)]
task: clarify the task ID reuse guarantees (#7577)