Skip to content

Commit

Permalink
[deps]: Update Rust crate tokio to v1.42.0 (#60)
Browse files Browse the repository at this point in the history
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tokio](https://tokio.rs)
([source](https://github.com/tokio-rs/tokio)) |
workspace.dependencies | minor | `1.40.0` -> `1.42.0` |

---

### Release Notes

<details>
<summary>tokio-rs/tokio (tokio)</summary>

###
[`v1.42.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.42.0):
Tokio v1.42.0

[Compare
Source](https://github.com/tokio-rs/tokio/compare/tokio-1.41.1...tokio-1.42.0)

##### 1.42.0 (Dec 3rd, 2024)

##### Added

-   io: add `AsyncFd::{try_io, try_io_mut}` ([#&#8203;6967])

##### Fixed

- io: avoid `ptr->ref->ptr` roundtrip in RegistrationSet
([#&#8203;6929])
- runtime: do not defer `yield_now` inside `block_in_place`
([#&#8203;6999])

##### Changes

-   io: simplify io readiness logic ([#&#8203;6966])

##### Documented

- net: fix docs for `tokio::net::unix::{pid_t, gid_t, uid_t}`
([#&#8203;6791])
-   time: fix a typo in `Instant` docs ([#&#8203;6982])

[#&#8203;6791]: https://github.com/tokio-rs/tokio/pull/6791

[#&#8203;6929]: https://github.com/tokio-rs/tokio/pull/6929

[#&#8203;6966]: https://github.com/tokio-rs/tokio/pull/6966

[#&#8203;6967]: https://github.com/tokio-rs/tokio/pull/6967

[#&#8203;6982]: https://github.com/tokio-rs/tokio/pull/6982

[#&#8203;6999]: https://github.com/tokio-rs/tokio/pull/6999

###
[`v1.41.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.41.1):
Tokio v1.41.1

[Compare
Source](https://github.com/tokio-rs/tokio/compare/tokio-1.41.0...tokio-1.41.1)

### 1.41.1 (Nov 7th, 2024)

##### Fixed

- metrics: fix bug with wrong number of buckets for the histogram
([#&#8203;6957])
- net: display `net` requirement for `net::UdpSocket` in docs
([#&#8203;6938])
-   net: fix typo in `TcpStream` internal comment ([#&#8203;6944])

[#&#8203;6957]: https://github.com/tokio-rs/tokio/pull/6957

[#&#8203;6938]: https://github.com/tokio-rs/tokio/pull/6938

[#&#8203;6944]: https://github.com/tokio-rs/tokio/pull/6944

###
[`v1.41.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.41.0):
Tokio v1.41.0

[Compare
Source](https://github.com/tokio-rs/tokio/compare/tokio-1.40.0...tokio-1.41.0)

### 1.41.0 (Oct 22th, 2024)

##### Added

- metrics: stabilize `global_queue_depth` ([#&#8203;6854],
[#&#8203;6918])
-   net: add conversions for unix `SocketAddr` ([#&#8203;6868])
-   sync: add `watch::Sender::sender_count` ([#&#8203;6836])
-   sync: add `mpsc::Receiver::blocking_recv_many` ([#&#8203;6867])
-   task: stabilize `Id` apis ([#&#8203;6793], [#&#8203;6891])

##### Added (unstable)

- metrics: add H2 Histogram option to improve histogram granularity
([#&#8203;6897])
-   metrics: rename some histogram apis ([#&#8203;6924])
-   runtime: add `LocalRuntime` ([#&#8203;6808])

##### Changed

- runtime: box futures larger than 16k on release mode ([#&#8203;6826])
-   sync: add `#[must_use]` to `Notified` ([#&#8203;6828])
-   sync: make `watch` cooperative ([#&#8203;6846])
-   sync: make `broadcast::Receiver` cooperative ([#&#8203;6870])
-   task: add task size to tracing instrumentation ([#&#8203;6881])
-   wasm: enable `cfg_fs` for `wasi` target ([#&#8203;6822])

##### Fixed

- net: fix regression of abstract socket path in unix socket
([#&#8203;6838])

##### Documented

-   io: recommend `OwnedFd` with `AsyncFd` ([#&#8203;6821])
-   io: document cancel safety of `AsyncFd` methods ([#&#8203;6890])
- macros: render more comprehensible documentation for `join` and
`try_join` ([#&#8203;6814], [#&#8203;6841])
- net: fix swapped examples for `TcpSocket::set_nodelay` and
`TcpSocket::nodelay` ([#&#8203;6840])
-   sync: document runtime compatibility ([#&#8203;6833])

[#&#8203;6793]: https://github.com/tokio-rs/tokio/pull/6793

[#&#8203;6808]: https://github.com/tokio-rs/tokio/pull/6808

[#&#8203;6810]: https://github.com/tokio-rs/tokio/pull/6810

[#&#8203;6814]: https://github.com/tokio-rs/tokio/pull/6814

[#&#8203;6821]: https://github.com/tokio-rs/tokio/pull/6821

[#&#8203;6822]: https://github.com/tokio-rs/tokio/pull/6822

[#&#8203;6826]: https://github.com/tokio-rs/tokio/pull/6826

[#&#8203;6828]: https://github.com/tokio-rs/tokio/pull/6828

[#&#8203;6833]: https://github.com/tokio-rs/tokio/pull/6833

[#&#8203;6836]: https://github.com/tokio-rs/tokio/pull/6836

[#&#8203;6838]: https://github.com/tokio-rs/tokio/pull/6838

[#&#8203;6840]: https://github.com/tokio-rs/tokio/pull/6840

[#&#8203;6841]: https://github.com/tokio-rs/tokio/pull/6841

[#&#8203;6846]: https://github.com/tokio-rs/tokio/pull/6846

[#&#8203;6854]: https://github.com/tokio-rs/tokio/pull/6854

[#&#8203;6867]: https://github.com/tokio-rs/tokio/pull/6867

[#&#8203;6868]: https://github.com/tokio-rs/tokio/pull/6868

[#&#8203;6870]: https://github.com/tokio-rs/tokio/pull/6870

[#&#8203;6881]: https://github.com/tokio-rs/tokio/pull/6881

[#&#8203;6890]: https://github.com/tokio-rs/tokio/pull/6890

[#&#8203;6891]: https://github.com/tokio-rs/tokio/pull/6891

[#&#8203;6897]: https://github.com/tokio-rs/tokio/pull/6897

[#&#8203;6918]: https://github.com/tokio-rs/tokio/pull/6918

[#&#8203;6924]: https://github.com/tokio-rs/tokio/pull/6924

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every 2nd week starting on the 2 week
of the year before 4am on Monday" (UTC), 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 this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/bitwarden/sdk-internal).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS40Mi40IiwidXBkYXRlZEluVmVyIjoiMzkuNDIuNCIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOltdfQ==-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
  • Loading branch information
renovate[bot] and dani-garcia authored Dec 9, 2024
1 parent 0b28922 commit 85ce7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 85ce7eb

Please sign in to comment.