]> git.feebdaed.xyz Git - 0xmirror/tokio.git/log
0xmirror/tokio.git
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)

3 months agoutil: fix `pending_only_on_first_poll_with_cancellation_token_owned_test` to use...
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

3 months agonet: clarify the behavior of `UCred::pid()` on Cygwin (#7611)
Martin Grigorov [Sun, 14 Sep 2025 16:05:05 +0000 (19:05 +0300)]
net: clarify the behavior of `UCred::pid()` on Cygwin (#7611)

3 months agotokio: fix minor errors in `tokio/CHANGELOG.md` (#7608)
Martin Grigorov [Thu, 11 Sep 2025 10:02:34 +0000 (13:02 +0300)]
tokio: fix minor errors in `tokio/CHANGELOG.md` (#7608)

3 months agotime: add `#[track_caller]` to `FutureExt::timeout` (#7588)
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>
3 months agonet: fix copy/paste errors in udp peek methods (#7604)
Martin Grigorov [Wed, 10 Sep 2025 14:33:35 +0000 (17:33 +0300)]
net: fix copy/paste errors in udp peek methods (#7604)

3 months agotask: remove duplicated code in `JoinMap::remove_by_id` (#7603)
Martin Grigorov [Wed, 10 Sep 2025 14:16:15 +0000 (17:16 +0300)]
task: remove duplicated code in `JoinMap::remove_by_id` (#7603)

3 months agotask: improve the example of `poll_proceed` (#7586)
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>
3 months agoio: export `Chain` of `AsyncReadExt::chain` (#7599)
Aatif Syed [Wed, 10 Sep 2025 08:45:42 +0000 (09:45 +0100)]
io: export `Chain` of `AsyncReadExt::chain` (#7599)

3 months agofs: fill the destination buffer with 0s for MockFile::read() (#7596)
Martin Grigorov [Wed, 10 Sep 2025 08:41:20 +0000 (11:41 +0300)]
fs: fill the destination buffer with 0s for MockFile::read() (#7596)

3 months agomacros: Update the version used for Git tag sample for release steps (#7598)
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

3 months agomacros: add missing `local` flavor to `tokio::main` error message (#7597)
Martin Grigorov [Tue, 9 Sep 2025 13:26:16 +0000 (16:26 +0300)]
macros: add missing `local` flavor to `tokio::main` error message (#7597)

3 months agotest: add tests for time in wasm32-unknown-unknown (#7510)
unvalley [Tue, 9 Sep 2025 10:31:14 +0000 (19:31 +0900)]
test: add tests for time in wasm32-unknown-unknown (#7510)

3 months agosync: reword allocation failure paragraph in broadcast docs (#7595)
Martin Grigorov [Tue, 9 Sep 2025 09:05:14 +0000 (12:05 +0300)]
sync: reword allocation failure paragraph in broadcast docs (#7595)

3 months agofs: preserve `max_buf_size` when cloning a `File` (#7593)
Martin Grigorov [Tue, 9 Sep 2025 08:34:35 +0000 (11:34 +0300)]
fs: preserve `max_buf_size` when cloning a `File` (#7593)

3 months agofs: add `File::max_buf_size` (#7594)
Martin Grigorov [Tue, 9 Sep 2025 08:12:07 +0000 (11:12 +0300)]
fs: add `File::max_buf_size` (#7594)

3 months agosync: fix implementation of unused `RwLock::try_*` methods (#7587)
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>
3 months agoreadme: fix the version used as an example how to use the latest minor of LTS (#7592)
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)

3 months agoci: remove the job `test-pass` (#7575)
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>
3 months agoio: fix typos in the docs of `AsyncFd` readiness guards (#7583)
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>
3 months agoexamples: fix the write length in the `connect-tcp` example (#7581)
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>