Update Rust crate tokio to v1.43.0 (#22882)
renovate[bot]
and
renovate[bot]
created
This PR contains the following updates:
| Package | Type | Update | Change |
|---|---|---|---|
| [tokio](https://tokio.rs)
([source](https://redirect.github.com/tokio-rs/tokio)) | dependencies |
minor | `1.42.0` -> `1.43.0` |
| [tokio](https://tokio.rs)
([source](https://redirect.github.com/tokio-rs/tokio)) |
workspace.dependencies | minor | `1.42.0` -> `1.43.0` |
---
### Release Notes
<details>
<summary>tokio-rs/tokio (tokio)</summary>
###
[`v1.43.0`](https://redirect.github.com/tokio-rs/tokio/releases/tag/tokio-1.43.0):
Tokio v1.43.0
[Compare
Source](https://redirect.github.com/tokio-rs/tokio/compare/tokio-1.42.0...tokio-1.43.0)
### 1.43.0 (Jan 8th, 2025)
##### Added
- net: add `UdpSocket::peek` methods ([#​7068])
- net: add support for Haiku OS ([#​7042])
- process: add `Command::into_std()` ([#​7014])
- signal: add `SignalKind::info` on illumos ([#​6995])
- signal: add support for realtime signals on illumos ([#​7029])
##### Fixed
- io: don't call `set_len` before initializing vector in `Blocking`
([#​7054])
- macros: suppress `clippy::needless_return` in `#[tokio::main]`
([#​6874])
- runtime: fix thread parking on WebAssembly ([#​7041])
##### Changes
- chore: use unsync loads for `unsync_load` ([#​7073])
- io: use `Buf::put_bytes` in `Repeat` read impl ([#​7055])
- task: drop the join waker of a task eagerly ([#​6986])
##### Changes to unstable APIs
- metrics: improve flexibility of H2Histogram Configuration
([#​6963])
- taskdump: add accessor methods for backtrace ([#​6975])
##### Documented
- io: clarify `ReadBuf::uninit` allows initialized buffers as well
([#​7053])
- net: fix ambiguity in `TcpStream::try_write_vectored` docs
([#​7067])
- runtime: fix `LocalRuntime` doc links ([#​7074])
- sync: extend documentation for `watch::Receiver::wait_for`
([#​7038])
- sync: fix typos in `OnceCell` docs ([#​7047])
[#​6874]: https://redirect.github.com/tokio-rs/tokio/pull/6874
[#​6963]: https://redirect.github.com/tokio-rs/tokio/pull/6963
[#​6975]: https://redirect.github.com/tokio-rs/tokio/pull/6975
[#​6986]: https://redirect.github.com/tokio-rs/tokio/pull/6986
[#​6995]: https://redirect.github.com/tokio-rs/tokio/pull/6995
[#​7014]: https://redirect.github.com/tokio-rs/tokio/pull/7014
[#​7029]: https://redirect.github.com/tokio-rs/tokio/pull/7029
[#​7038]: https://redirect.github.com/tokio-rs/tokio/pull/7038
[#​7041]: https://redirect.github.com/tokio-rs/tokio/pull/7041
[#​7042]: https://redirect.github.com/tokio-rs/tokio/pull/7042
[#​7047]: https://redirect.github.com/tokio-rs/tokio/pull/7047
[#​7053]: https://redirect.github.com/tokio-rs/tokio/pull/7053
[#​7054]: https://redirect.github.com/tokio-rs/tokio/pull/7054
[#​7055]: https://redirect.github.com/tokio-rs/tokio/pull/7055
[#​7067]: https://redirect.github.com/tokio-rs/tokio/pull/7067
[#​7068]: https://redirect.github.com/tokio-rs/tokio/pull/7068
[#​7073]: https://redirect.github.com/tokio-rs/tokio/pull/7073
[#​7074]: https://redirect.github.com/tokio-rs/tokio/pull/7074
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "after 3pm on Wednesday" in timezone
America/New_York, Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about these
updates again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
Release Notes:
- N/A
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS45Mi4wIiwidXBkYXRlZEluVmVyIjoiMzkuOTIuMCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Change summary
Cargo.lock | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Detailed changes
@@ -7046,7 +7046,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fc2f4eb4bc735547cfed7c0a4922cbd04a4655978c09b54f1f7b228750664c34"
dependencies = [
"cfg-if",
- "windows-targets 0.52.6",
+ "windows-targets 0.48.5",
]
[[package]]
@@ -13398,9 +13398,9 @@ dependencies = [
[[package]]
name = "tokio"
-version = "1.42.0"
+version = "1.43.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5cec9b21b0450273377fc97bd4c33a8acffc8c996c987a7c5b319a0083707551"
+checksum = "3d61fa4ffa3de412bfea335c6ecff681de2b609ba3c77ef3e00e521813a9ed9e"
dependencies = [
"backtrace",
"bytes 1.9.0",
@@ -13427,9 +13427,9 @@ dependencies = [
[[package]]
name = "tokio-macros"
-version = "2.4.0"
+version = "2.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "693d596312e88961bc67d7f1f97af8a70227d9f90c31bba5806eec004978d752"
+checksum = "6e06d43f1345a3bcd39f6a56dbb7dcab2ba47e68e8ac134855e7e2bdbaf8cab8"
dependencies = [
"proc-macro2",
"quote",