Commit Graph
4246 Commits
Author SHA1 Message Date
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
Jess Izen eb99e476e6 macros: fix the hygiene issue of join! and try_join! (#7638) 2025-09-21 13:47:22 +08:00
Daniel Sharifi b9b532485b sync: clarify the behavior of tokio::sync::watch::Receiver (#7584) 2025-09-20 22:02:56 +08:00
Nikolai Kuklin 1b98d5ad85 task: add tokio_util::task::JoinQueue (#7590) 2025-09-20 15:38:59 +08:00
Martin Grigorov 6d1ae62868 sync: close the broadcast::Sender in broadcast::Sender::new() (#7629) 2025-09-20 14:44:55 +08:00
Motoyuki KimuraandEmile Fugulin 3b5a15dfdf fs: use the Cargo feature for io-uring support instead of cfg (#7621)
Co-authored-by: Emile Fugulin <[email protected]>
2025-09-19 23:22:44 +08:00
Qi 2af3e4430a ci: update macros_type_mismatch for Rust 1.90.0 (#7630)
Signed-off-by: ADD-SP <[email protected]>
2025-09-19 16:11:21 +02:00
Adam Ning 67869be3d7 runtime: use release in wake_by_ref() even if already woken (#7622) 2025-09-18 13:41:23 +02:00
Vaibhav Gupta c6b16cc861 net: clarify the supported platform of set_reuseport() and reuseport() (#7628) 2025-09-17 21:10:10 +08:00
Martin Grigorov 7c197c7784 runtime: clarify the edge case of Builder::global_queue_interval() (#7605) 2025-09-16 21:41:18 +08:00
Martin GrigorovandAlice Ryhl 5f3f5b0be4 sync: improve the docs of sync::watch (#7601)
Co-authored-by: Alice Ryhl <[email protected]>
2025-09-15 19:56:29 +08:00
tottoto 32a1acc85f examples: bump http crate from 0.2 to 1 (#7618) 2025-09-15 18:22:57 +08:00
Sean Oxley 7f455b2d93 task: clarify the task ID reuse guarantees (#7577) 2025-09-15 18:18:16 +08:00
Martin Grigorov 86de2e306b 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
2025-09-15 16:22:42 +09:00
Martin Grigorov 6dc4f85f0b net: clarify the behavior of UCred::pid() on Cygwin (#7611) 2025-09-15 00:05:05 +08:00
Martin Grigorov 637fc1d103 tokio: fix minor errors in tokio/CHANGELOG.md (#7608) 2025-09-11 10:02:34 +00:00
Martin Grigorov 7a0ca807be time: add #[track_caller] to FutureExt::timeout (#7588)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-11 09:18:40 +02:00
Martin Grigorov d8e8037de5 net: fix copy/paste errors in udp peek methods (#7604) 2025-09-10 16:33:35 +02:00
Martin Grigorov de978c47e0 task: remove duplicated code in JoinMap::remove_by_id (#7603) 2025-09-10 22:16:15 +08:00
Qi 024bd60933 task: improve the example of poll_proceed (#7586)
Signed-off-by: ADD-SP <[email protected]>
2025-09-10 20:57:03 +08:00
Aatif Syed 7127e257a7 io: export Chain of AsyncReadExt::chain (#7599) 2025-09-10 10:45:42 +02:00
Martin Grigorov 94b6df699b fs: fill the destination buffer with 0s for MockFile::read() (#7596) 2025-09-10 10:41:20 +02:00
Martin Grigorov 510b9ea9dc 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
2025-09-09 15:52:58 +02:00
Martin Grigorov 0fc23971d9 macros: add missing local flavor to tokio::main error message (#7597) 2025-09-09 21:26:16 +08:00
unvalley f07233f742 test: add tests for time in wasm32-unknown-unknown (#7510) 2025-09-09 12:31:14 +02:00
Martin Grigorov 8efd04e382 sync: reword allocation failure paragraph in broadcast docs (#7595) 2025-09-09 09:05:14 +00:00
Martin Grigorov 044eaa1a41 fs: preserve max_buf_size when cloning a File (#7593) 2025-09-09 08:34:35 +00:00
Martin Grigorov 03bb6e29b1 fs: add File::max_buf_size (#7594) 2025-09-09 08:12:07 +00:00
Martin Grigorov ac4c95972e sync: fix implementation of unused RwLock::try_* methods (#7587)
bd4ccae184 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 <[email protected]>
2025-09-09 09:39:01 +02:00
Martin Grigorov 14e739c306 readme: fix the version used as an example how to use the latest minor of LTS (#7592) 2025-09-09 09:37:47 +02:00
Qi 9f59c6952e ci: remove the job test-pass (#7575)
Signed-off-by: ADD-SP <[email protected]>
2025-09-08 12:07:40 +02:00
Martin Grigorov 86400a1920 io: fix typos in the docs of AsyncFd readiness guards (#7583)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 15:58:41 +08:00
Martin Grigorov c9b4e4c110 examples: fix the write length in the connect-tcp example (#7581)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 15:49:07 +08:00
Martin Grigorov 3eb515e1a7 examples: update outdated example name connect to connect-tcp (#7582)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 14:01:40 +08:00
Martin Grigorov 1ed2a1436f process: fix unit test for trailing LF in uname -r (#7579)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 13:52:16 +08:00
Martin Grigorov c6aceed643 io: clarify the zero capacity case of AsyncRead::poll_read (#7580)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 13:42:35 +08:00
Martin Grigorov 4590828fb4 stream: improve the the docs of TcpListenerStream (#7578)
Signed-off-by: Martin Tzvetanov Grigorov <[email protected]>
2025-09-06 13:36:41 +08:00
Roman a99a351802 sync: use UnsafeCell::get_mut in Mutex::get_mut and RwLock::get_mut (#7569) 2025-09-04 22:39:28 +08:00