Commit Graph
4284 Commits
Author SHA1 Message Date
Daksh 5a709e391b io_uring: change Completable to not return io::Result (#7702) 2025-10-24 22:17:17 +02:00
Alice Ryhl 5efb1c3b16 io: doc that AsyncWrite does not inherit from Write (#7705) 2025-10-23 12:07:02 +02:00
Alice Ryhl f490029b8f runtime: revert "replace manual vtable definitions with Wake" (#7699)
This reverts commit 4380de9fe9.
2025-10-21 12:59:05 +02:00
Mattia Pitossi d25778f67d task: add tests for task::Builder::spawn_local (#7697) 2025-10-20 20:43:41 +08:00
Qi b8318fa172 task: add tests for spawn_local in panic scenarios (#7694)
Signed-off-by: ADD-SP <[email protected]>
2025-10-20 20:25:00 +08:00
Alice Ryhl acfdb87e2b task: use #[tokio::test] explicitly in tests/task_builder.rs (#7698) 2025-10-20 11:15:04 +00:00
KR-bluejay d060401f6c sync: return TryRecvError::Disconnected from Receiver::try_recv after Receiver::close (#7686) 2025-10-18 12:57:07 +02:00
FrancescoV1985 5dacc2e2a8 task: add tests for spawn_local and spawn_local_on (#7609)
Add tests for task collections (TaskTracker, JoinSet, JoinMap).
2025-10-16 23:44:57 +08:00
Mattia Pitossi 444d3f5c49 task: add example for spawn_local usage on local runtime (#7689) 2025-10-16 23:13:16 +08:00
Mattia Pitossi d23a838732 runtime: add tests for spawn local on multi and current runtimes (#7687) 2025-10-15 22:09:46 +03:00
Alice Ryhl 2137f7d953 process: remove obsolete allow(deprecated) from is_rt_shutdown_err (#7685) 2025-10-15 14:17:56 +02:00
Alice Ryhl 51e9dc0943 Merge 'tokio-1.47.2' into 'master' (#7683) 2025-10-14 20:30:15 +02:00
Qi 3762a6a990 chore: prepare Tokio v1.47.2 (#7681)
Signed-off-by: ADD-SP <[email protected]>
tokio-1.47.2
2025-10-15 01:12:04 +08:00
Jess Izen 07f6cc7e1d macros: fix the hygiene issue of join! and try_join! (#7638)
(cherry picked from commit eb99e476e6)
2025-10-15 00:29:11 +08:00
Qi 308e3e6871 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 <[email protected]>
2025-10-15 00:12:53 +08:00
Qi 5a1879c2d0 Merge 'tokio-1.43.3' into 'tokio-1.47.x' 2025-10-15 00:10:36 +08:00
Qi de6ef21a81 chore: prepare Tokio v1.43.3
Signed-off-by: ADD-SP <[email protected]>
tokio-1.43.3
2025-10-14 22:54:10 +08:00
Qi 90551d234f deps: bump the locked slap to 0.4.11
Signed-off-by: ADD-SP <[email protected]>
2025-10-14 22:54:09 +08:00
Qi bd4c3dddca deps: bump the locked tracing-subscriber to 0.3.20
Signed-off-by: ADD-SP <[email protected]>
2025-10-14 22:54:09 +08:00
Alice Ryhl 49b331855e process: fix error when runtime is shut down on nightly-2025-10-12 (#7672)
(cherry picked from commit 9e5527d1d5)
2025-10-14 22:13:55 +08:00
Martin Grigorov da292dfb66 sync: close the broadcast::Sender in broadcast::Sender::new() (#7629)
(cherry picked from commit 6d1ae62868)
2025-10-14 22:13:55 +08:00
Adam Ning b9feac8d68 runtime: use release in wake_by_ref() even if already woken (#7622)
(cherry picked from commit 67869be3d7)
2025-10-14 22:13:54 +08:00
Qi 4fee6e3500 ci: update macros_type_mismatch for Rust 1.90.0 (#7630)
Signed-off-by: ADD-SP <[email protected]>
(cherry picked from commit 2af3e4430a)
2025-10-14 22:13:54 +08:00
Motoyuki Kimura b1e69e560c ci: pin the rust version for wasm tests (#7518)
(cherry picked from commit 987675e843)
2025-10-14 22:13:54 +08:00
Alice Ryhl 556820ff84 chore: prepare Tokio v1.48.0 (#7677) tokio-1.48.0 2025-10-14 15:07:25 +02:00
Alice Ryhl fd1659a052 chore: prepare tokio-macros v2.6.0 (#7676) tokio-macros-2.6.0 2025-10-14 14:24:54 +02:00
Alice Ryhl 53e8acac64 ci: update nightly version to 2025-10-12 (#7670) 2025-10-14 12:56:46 +02:00
Alice Ryhl 9e5527d1d5 process: fix error when runtime is shut down on nightly-2025-10-12 (#7672) 2025-10-14 12:56:41 +02:00
Sean McArthur 25a24de0e6 net: remove PollEvented noise from Debug formats (#7675) 2025-10-13 21:02:37 +00:00
Mattia Pitossi c1fa25f300 task: clarify the behavior of several spawn_local methods (#7669) 2025-10-12 10:46:23 +08:00
Denis Davydov e7e02fcf0f fs: use FileOptions inside fs::File to support uring (#7617) 2025-10-10 17:06:13 +02:00
tottoto f7a7f62959 ci: remove cargo-deny Unicode-DFS-2016 license exception config (#7619) 2025-10-10 16:55:48 +02:00
QiandAlice Ryhl d1f1499f63 tokio: use cargo feature for taskdump support instead of cfg (#7655)
Signed-off-by: ADD-SP <[email protected]>
Co-authored-by: Alice Ryhl <[email protected]>
2025-10-10 11:31:41 +08:00
Samuele ad6f618952 runtime: clarify the behavior of Handle::block_on (#7665) 2025-10-10 10:01:17 +08:00
tison 0f9ae13c31 task: add LocalKey::try_get (#7666)
Signed-off-by: tison <[email protected]>
2025-10-09 10:19:27 +02:00
whollins 9255d96b1b deps: bump windows-sys to version 0.61 (#7645) 2025-10-07 10:40:42 +02:00
Qi ffcc9f7c95 tokio: fix the docs of feature flag (#7663)
Signed-off-by: ADD-SP <[email protected]>
2025-10-06 19:34:56 +08:00
Mattia 1a4cf319b5 sync: improve the docs of UnboundedSender::send (#7661) 2025-10-05 15:14:38 +08:00
Motoyuki Kimura 3698a6f153 fs: support io_uring in fs::write (#7567) 2025-10-02 11:01:18 +00:00
Alice Ryhl 5b4cbbc39e tokio: raise MSRV to 1.71 (#7658) 2025-10-02 11:14:17 +02:00
Ruiyang Sun c1f0c76fa0 macros: suppress clippy::unwrap_in_result in #[tokio::main] (#7651) 2025-10-02 16:53:25 +08:00
Tudyx d0953e833d task: simplify the example of TaskTracker (#7657) 2025-10-02 15:07:28 +08:00
Qi b157f5da76 runtime: add guide for choosing between runtime types (#7635)
Signed-off-by: ADD-SP <[email protected]>
2025-10-01 22:00:46 +08:00
Xinye TaoandXinye Tao 35470bfc6e sync: clarify bounded channel panic behavior (#7641)
Signed-off-by: Xinye Tao <[email protected]>
Co-authored-by: Xinye Tao <[email protected]>
2025-10-01 10:38:04 +02:00
Alice Ryhl 95edd8515e docs: fix some docs links (#7654) 2025-09-30 12:35:46 +00:00
Qi a0f7f5c94a fs: emit compilation error without tokio_unstable for io-uring (#7634)
Signed-off-by: ADD-SP <[email protected]>
2025-09-30 19:53:19 +08:00
Qi 02486978d1 ci: freeze rustc on nightly-2025-01-25 in netlify.toml (#7652)
Signed-off-by: ADD-SP <[email protected]>
2025-09-29 23:51:20 +08:00
Lucas Black 8ccf2fb92e ci: unfreeze wasm tests from rustc 1.88.0 (#7537) 2025-09-26 21:29:01 +08:00
Nikolai Kuklin bce76c515f task: add try_join_next and try_join_next_with_id on JoinQueue (#7636) 2025-09-25 20:31:31 +08:00
Martin Grigorov b48586f560 tokio: fix typos in tokio/CHANGELOG.md (#7643) 2025-09-23 22:12:41 +08:00