Update Rust crate tokio to 1.47.1 #324

Merged
renovate merged 1 commits from renovate/tokio-1.x into master 2025-08-05 00:19:23 +00:00
Collaborator

This PR contains the following updates:

Package Type Update Change
tokio (source) dependencies minor 1.45.0 -> 1.47.1

Release Notes

tokio-rs/tokio (tokio)

v1.47.1: Tokio v1.47.1

Compare Source

1.47.1 (August 1st, 2025)

Fixed
  • process: fix panic from spurious pidfd wakeup (#​7494)
  • sync: fix broken link of Python asyncio.Event in SetOnce docs (#​7485)

v1.47.0: Tokio v1.47.0

Compare Source

1.47.0 (July 25th, 2025)

This release adds poll_proceed and cooperative to the coop module for
cooperative scheduling, adds SetOnce to the sync module which provides
similar functionality to [std::sync::OnceLock], and adds a new method
sync::Notify::notified_owned() which returns an OwnedNotified without
a lifetime parameter.

Added

  • coop: add cooperative and poll_proceed (#​7405)
  • sync: add SetOnce (#​7418)
  • sync: add sync::Notify::notified_owned() (#​7465)

Changed

  • deps: upgrade windows-sys 0.52 → 0.59 ([#​7117])
  • deps: update to socket2 v0.6 ([#​7443])
  • sync: improve AtomicWaker::wake performance (#​7450)

Documented

  • metrics: fix listed feature requirements for some metrics (#​7449)
  • runtime: improve safety comments of Readiness<'_> (#​7415)

v1.46.1: Tokio v1.46.1

Compare Source

1.46.1 (July 4th, 2025)

This release fixes incorrect spawn locations in runtime task hooks for tasks spawned using tokio::spawn rather than Runtime::spawn. This issue only effected the spawn location in TaskMeta::spawned_at, and did not effect task locations in Tracing events.

Unstable

  • runtime: add TaskMeta::spawn_location tracking where a task was spawned (#​7440)

v1.46.0: Tokio v1.46.0

Compare Source

1.46.0 (July 2nd, 2025)

Fixed
  • net: fixed TcpStream::shutdown incorrectly returning an error on macOS (#​7290)

Added

  • sync: mpsc::OwnedPermit::{same_channel, same_channel_as_sender} methods (#​7389)
  • macros: biased option for join! and try_join!, similar to select! (#​7307)
  • net: support for cygwin (#​7393)
  • net: support pope::OpenOptions::read_write on Android (#​7426)
  • net: add Clone implementation for net::unix::SocketAddr (#​7422)

Changed

  • runtime: eliminate unnecessary lfence while operating on queue::Local<T> (#​7340)
  • task: disallow blocking in LocalSet::{poll,drop} (#​7372)

Unstable

  • runtime: add TaskMeta::spawn_location tracking where a task was spawned (#​7417)
  • runtime: removed borrow from LocalOptions parameter to runtime::Builder::build_local (#​7346)

Documented

  • io: clarify behavior of seeking when start_seek is not used (#​7366)
  • io: document cancellation safety of AsyncWriteExt::flush (#​7364)
  • net: fix docs for recv_buffer_size method (#​7336)
  • net: fix broken link of RawFd in TcpSocket docs (#​7416)
  • net: update AsRawFd doc link to current Rust stdlib location (#​7429)
  • readme: fix double period in reactor description (#​7363)
  • runtime: add doc note that on_*_task_poll is unstable (#​7311)
  • sync: update broadcast docs on allocation failure (#​7352)
  • time: add a missing panic scenario of time::advance (#​7394)

v1.45.1: Tokio v1.45.1

Compare Source

1.45.1 (May 24th, 2025)

This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to Instant::now() started failing. This is due to the stabilization of the first time-based metric.

Fixed
  • Disable time-based metrics on wasm32-unknown-unknown (#​7322)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dependencies | minor | `1.45.0` -> `1.47.1` | --- ### Release Notes <details> <summary>tokio-rs/tokio (tokio)</summary> ### [`v1.47.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.47.1): Tokio v1.47.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.47.0...tokio-1.47.1) ### 1.47.1 (August 1st, 2025) ##### Fixed - process: fix panic from spurious pidfd wakeup ([#&#8203;7494]) - sync: fix broken link of Python `asyncio.Event` in `SetOnce` docs ([#&#8203;7485]) [#&#8203;7485]: https://github.com/tokio-rs/tokio/pull/7485 [#&#8203;7494]: https://github.com/tokio-rs/tokio/pull/7494 ### [`v1.47.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.47.0): Tokio v1.47.0 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.46.1...tokio-1.47.0) ### 1.47.0 (July 25th, 2025) This release adds `poll_proceed` and `cooperative` to the `coop` module for cooperative scheduling, adds `SetOnce` to the `sync` module which provides similar functionality to \[`std::sync::OnceLock`], and adds a new method `sync::Notify::notified_owned()` which returns an `OwnedNotified` without a lifetime parameter. #### Added - coop: add `cooperative` and `poll_proceed` ([#&#8203;7405]) - sync: add `SetOnce` ([#&#8203;7418]) - sync: add `sync::Notify::notified_owned()` ([#&#8203;7465]) #### Changed - deps: upgrade windows-sys 0.52 → 0.59 (\[[#&#8203;7117](https://github.com/tokio-rs/tokio/issues/7117)]) - deps: update to socket2 v0.6 (\[[#&#8203;7443](https://github.com/tokio-rs/tokio/issues/7443)]) - sync: improve `AtomicWaker::wake` performance ([#&#8203;7450]) #### Documented - metrics: fix listed feature requirements for some metrics ([#&#8203;7449]) - runtime: improve safety comments of `Readiness<'_>` ([#&#8203;7415]) [#&#8203;7405]: https://github.com/tokio-rs/tokio/pull/7405 [#&#8203;7415]: https://github.com/tokio-rs/tokio/pull/7415 [#&#8203;7418]: https://github.com/tokio-rs/tokio/pull/7418 [#&#8203;7449]: https://github.com/tokio-rs/tokio/pull/7449 [#&#8203;7450]: https://github.com/tokio-rs/tokio/pull/7450 [#&#8203;7465]: https://github.com/tokio-rs/tokio/pull/7465 ### [`v1.46.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.46.1): Tokio v1.46.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.46.0...tokio-1.46.1) ### 1.46.1 (July 4th, 2025) This release fixes incorrect spawn locations in runtime task hooks for tasks spawned using `tokio::spawn` rather than `Runtime::spawn`. This issue only effected the spawn location in `TaskMeta::spawned_at`, and did not effect task locations in Tracing events. #### Unstable - runtime: add `TaskMeta::spawn_location` tracking where a task was spawned ([#&#8203;7440]) [#&#8203;7440]: https://github.com/tokio-rs/tokio/pull/7440 ### [`v1.46.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.46.0): Tokio v1.46.0 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.45.1...tokio-1.46.0) ### 1.46.0 (July 2nd, 2025) ##### Fixed - net: fixed `TcpStream::shutdown` incorrectly returning an error on macOS ([#&#8203;7290]) #### Added - sync: `mpsc::OwnedPermit::{same_channel, same_channel_as_sender}` methods ([#&#8203;7389]) - macros: `biased` option for `join!` and `try_join!`, similar to `select!` ([#&#8203;7307]) - net: support for cygwin ([#&#8203;7393]) - net: support `pope::OpenOptions::read_write` on Android ([#&#8203;7426]) - net: add `Clone` implementation for `net::unix::SocketAddr` ([#&#8203;7422]) #### Changed - runtime: eliminate unnecessary lfence while operating on `queue::Local<T>` ([#&#8203;7340]) - task: disallow blocking in `LocalSet::{poll,drop}` ([#&#8203;7372]) #### Unstable - runtime: add `TaskMeta::spawn_location` tracking where a task was spawned ([#&#8203;7417]) - runtime: removed borrow from `LocalOptions` parameter to `runtime::Builder::build_local` ([#&#8203;7346]) #### Documented - io: clarify behavior of seeking when `start_seek` is not used ([#&#8203;7366]) - io: document cancellation safety of `AsyncWriteExt::flush` ([#&#8203;7364]) - net: fix docs for `recv_buffer_size` method ([#&#8203;7336]) - net: fix broken link of `RawFd` in `TcpSocket` docs ([#&#8203;7416]) - net: update `AsRawFd` doc link to current Rust stdlib location ([#&#8203;7429]) - readme: fix double period in reactor description ([#&#8203;7363]) - runtime: add doc note that `on_*_task_poll` is unstable ([#&#8203;7311]) - sync: update broadcast docs on allocation failure ([#&#8203;7352]) - time: add a missing panic scenario of `time::advance` ([#&#8203;7394]) [#&#8203;7290]: https://github.com/tokio-rs/tokio/pull/7290 [#&#8203;7307]: https://github.com/tokio-rs/tokio/pull/7307 [#&#8203;7311]: https://github.com/tokio-rs/tokio/pull/7311 [#&#8203;7336]: https://github.com/tokio-rs/tokio/pull/7336 [#&#8203;7340]: https://github.com/tokio-rs/tokio/pull/7340 [#&#8203;7346]: https://github.com/tokio-rs/tokio/pull/7346 [#&#8203;7352]: https://github.com/tokio-rs/tokio/pull/7352 [#&#8203;7363]: https://github.com/tokio-rs/tokio/pull/7363 [#&#8203;7364]: https://github.com/tokio-rs/tokio/pull/7364 [#&#8203;7366]: https://github.com/tokio-rs/tokio/pull/7366 [#&#8203;7372]: https://github.com/tokio-rs/tokio/pull/7372 [#&#8203;7389]: https://github.com/tokio-rs/tokio/pull/7389 [#&#8203;7393]: https://github.com/tokio-rs/tokio/pull/7393 [#&#8203;7394]: https://github.com/tokio-rs/tokio/pull/7394 [#&#8203;7416]: https://github.com/tokio-rs/tokio/pull/7416 [#&#8203;7422]: https://github.com/tokio-rs/tokio/pull/7422 [#&#8203;7426]: https://github.com/tokio-rs/tokio/pull/7426 [#&#8203;7429]: https://github.com/tokio-rs/tokio/pull/7429 [#&#8203;7417]: https://github.com/tokio-rs/tokio/pull/7417 ### [`v1.45.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.45.1): Tokio v1.45.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.45.0...tokio-1.45.1) ### 1.45.1 (May 24th, 2025) This fixes a regression on the wasm32-unknown-unknown target, where code that previously did not panic due to calls to `Instant::now()` started failing. This is due to the stabilization of the first time-based metric. ##### Fixed - Disable time-based metrics on wasm32-unknown-unknown ([#&#8203;7322]) [#&#8203;7322]: https://github.com/tokio-rs/tokio/pull/7322 </details> --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MC4yOS4xIiwidXBkYXRlZEluVmVyIjoiNDEuNTEuMCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciIsImxhYmVscyI6W119-->
renovate added 1 commit 2025-05-25 00:10:20 +00:00
Update Rust crate tokio to 1.45.1
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
60c629f35d
renovate force-pushed renovate/tokio-1.x from 60c629f35d to 8d5c43a35b 2025-05-26 00:10:34 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 8d5c43a35b to 3d4750de21 2025-05-27 00:10:00 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 3d4750de21 to 5cdbb58c03 2025-05-28 00:11:36 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 5cdbb58c03 to 9334b984ae 2025-05-30 00:10:34 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 9334b984ae to 58c3257d1d 2025-05-31 00:10:56 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 58c3257d1d to 304f0a4d2a 2025-06-01 00:23:51 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 304f0a4d2a to 15e7be60a0 2025-06-02 00:23:59 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 15e7be60a0 to 1e208f9e76 2025-06-03 00:25:58 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1e208f9e76 to 0302902f84 2025-06-04 00:25:24 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0302902f84 to 096bb03ed1 2025-06-05 00:24:22 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 096bb03ed1 to e8b9b5a563 2025-06-06 00:24:45 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from e8b9b5a563 to 47fa43dbbb 2025-06-07 00:25:00 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 47fa43dbbb to a314e6b41f 2025-06-09 00:25:22 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from a314e6b41f to ee44ad4311 2025-06-10 00:26:07 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from ee44ad4311 to 81ad70b0fb 2025-06-11 00:26:17 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 81ad70b0fb to 270bead4f5 2025-06-12 00:26:08 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 270bead4f5 to 5bc89bc847 2025-06-13 00:25:23 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 5bc89bc847 to 6125247542 2025-06-14 00:25:24 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6125247542 to 7c6b98c4cb 2025-06-15 00:24:54 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 7c6b98c4cb to 2cadfe59f9 2025-06-16 00:24:48 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 2cadfe59f9 to debe4f2579 2025-06-17 00:25:28 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from debe4f2579 to 86abdef45b 2025-06-18 00:24:41 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 86abdef45b to 1dc13ab438 2025-06-19 00:23:14 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1dc13ab438 to 05464fcfa5 2025-06-20 00:25:13 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 05464fcfa5 to 62bad6a572 2025-06-21 00:23:32 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 62bad6a572 to 87484d50b1 2025-06-22 00:22:49 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 87484d50b1 to 0d0a2ece37 2025-06-23 00:24:18 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0d0a2ece37 to 7ed7f6b11a 2025-06-24 00:14:02 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 7ed7f6b11a to 6cc6f0aea8 2025-06-25 00:11:54 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6cc6f0aea8 to 636fe9b5e5 2025-06-26 00:11:58 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 636fe9b5e5 to 03eb3b6178 2025-06-27 00:12:36 +00:00 Compare
renovate changed title from Update Rust crate tokio to 1.45.1 to Update Rust crate tokio to 1.46.0 2025-07-03 00:11:21 +00:00
renovate force-pushed renovate/tokio-1.x from 03eb3b6178 to 9126dadd22 2025-07-03 00:11:21 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 9126dadd22 to 5ad2f06773 2025-07-04 00:12:37 +00:00 Compare
renovate changed title from Update Rust crate tokio to 1.46.0 to Update Rust crate tokio to 1.46.1 2025-07-05 00:12:46 +00:00
renovate force-pushed renovate/tokio-1.x from 5ad2f06773 to 12acd8b566 2025-07-05 00:12:46 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 12acd8b566 to 6681eafa2e 2025-07-06 00:19:05 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6681eafa2e to 40577a8bcc 2025-07-07 00:18:50 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 40577a8bcc to 094965cae1 2025-07-08 00:19:28 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 094965cae1 to 049ff90ee4 2025-07-09 00:19:26 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 049ff90ee4 to 8c0375fe33 2025-07-10 00:20:18 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 8c0375fe33 to 1a1e2c36dd 2025-07-11 00:19:20 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1a1e2c36dd to 0e16a677e3 2025-07-12 00:19:04 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0e16a677e3 to 1228ca140c 2025-07-13 00:18:56 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 1228ca140c to 8f68d00151 2025-07-14 00:19:06 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 8f68d00151 to 02c2f8cb56 2025-07-15 00:19:08 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 02c2f8cb56 to 57329a8097 2025-07-16 00:20:02 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 57329a8097 to 0273ec85ef 2025-07-17 00:20:01 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 0273ec85ef to e89277f7b0 2025-07-18 00:19:46 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from e89277f7b0 to e4ceb1314c 2025-07-19 00:22:48 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from e4ceb1314c to c8ade1223b 2025-07-20 00:18:54 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from c8ade1223b to bab3eb4b2c 2025-07-21 00:21:39 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from bab3eb4b2c to a4cc7e840a 2025-07-22 00:26:08 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from a4cc7e840a to 92aa708b4c 2025-07-23 00:20:35 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 92aa708b4c to 5fb654a16b 2025-07-24 00:21:09 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 5fb654a16b to 614e870fd0 2025-07-25 00:21:27 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 614e870fd0 to f66db328b2 2025-07-26 00:20:26 +00:00 Compare
renovate changed title from Update Rust crate tokio to 1.46.1 to Update Rust crate tokio to 1.47.0 2025-07-27 00:20:24 +00:00
renovate force-pushed renovate/tokio-1.x from f66db328b2 to 2f44769b59 2025-07-27 00:20:24 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 2f44769b59 to 7b1c359317 2025-07-28 00:20:47 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 7b1c359317 to adc1121a7f 2025-07-29 00:22:33 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from adc1121a7f to 3d381dcda7 2025-07-30 00:19:13 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 3d381dcda7 to 7cb0ea30d0 2025-07-31 00:19:33 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 7cb0ea30d0 to a1660088f3 2025-08-01 00:24:23 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from a1660088f3 to bf8eb2b24d 2025-08-02 00:21:35 +00:00 Compare
renovate changed title from Update Rust crate tokio to 1.47.0 to Update Rust crate tokio to 1.47.1 2025-08-02 00:21:37 +00:00
renovate force-pushed renovate/tokio-1.x from bf8eb2b24d to 6091ea4a2b 2025-08-03 00:22:50 +00:00 Compare
renovate force-pushed renovate/tokio-1.x from 6091ea4a2b to 095d6d827f 2025-08-04 00:20:21 +00:00 Compare
renovate merged commit 2d2602f0f8 into master 2025-08-05 00:19:23 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: pierre/VirtWeb#324
No description provided.