Skip to content

Commit

Permalink
[deps]: Update Rust crate tokio to 1.36.0 (#579)
Browse files Browse the repository at this point in the history
[![Mend
Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [tokio](https://tokio.rs)
([source](https://togithub.com/tokio-rs/tokio)) | dependencies | minor |
`1.35.1` -> `1.36.0` |
| [tokio](https://tokio.rs)
([source](https://togithub.com/tokio-rs/tokio)) | dev-dependencies |
minor | `1.35.1` -> `1.36.0` |

---

### Release Notes

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

###
[`v1.36.0`](https://togithub.com/tokio-rs/tokio/releases/tag/tokio-1.36.0):
Tokio v1.36.0

[Compare
Source](https://togithub.com/tokio-rs/tokio/compare/tokio-1.35.1...tokio-1.36.0)

##### 1.36.0 (February 2nd, 2024)

##### Added

-   io: add `tokio::io::Join` ([#&#8203;6220])
-   io: implement `AsyncWrite` for `Empty` ([#&#8203;6235])
-   net: add support for anonymous unix pipes ([#&#8203;6127])
-   net: add `UnixSocket` ([#&#8203;6290])
-   net: expose keepalive option on `TcpSocket` ([#&#8203;6311])
- sync: add `{Receiver,UnboundedReceiver}::poll_recv_many`
([#&#8203;6236])
-   sync: add `Sender::{try_,}reserve_many` ([#&#8203;6205])
-   sync: add `watch::Receiver::mark_unchanged` ([#&#8203;6252])
-   task: add `JoinSet::try_join_next` ([#&#8203;6280])
-   time: add `FutureExt::timeout` ([#&#8203;6276])

##### Changed

-   io: make `copy` cooperative ([#&#8203;6265])
-   io: make `repeat` and `sink` cooperative ([#&#8203;6254])
-   io: simplify check for empty slice ([#&#8203;6293])
- rt: improve robustness of `wake_in_drop_after_panic` test
([#&#8203;6238])
-   process: use pidfd on Linux when available ([#&#8203;6152])
-   sync: use AtomicBool in broadcast channel future ([#&#8203;6298])

##### Fixed

-   chore: typographic improvements ([#&#8203;6262])
-   runtime: remove obsolete comment ([#&#8203;6303])
-   task: fix typo ([#&#8203;6261])

##### Documented

-   io: clarify `clear_ready` docs ([#&#8203;6304])
- net: document that `*Fd` traits on `TcpSocket` are unix-only
([#&#8203;6294])
- sync: document FIFO behavior of `tokio::sync::Mutex` ([#&#8203;6279])

[#&#8203;6220]: https://togithub.com/tokio-rs/tokio/pull/6220

[#&#8203;6235]: https://togithub.com/tokio-rs/tokio/pull/6235

[#&#8203;6127]: https://togithub.com/tokio-rs/tokio/pull/6127

[#&#8203;6290]: https://togithub.com/tokio-rs/tokio/pull/6290

[#&#8203;6311]: https://togithub.com/tokio-rs/tokio/pull/6311

[#&#8203;6236]: https://togithub.com/tokio-rs/tokio/pull/6236

[#&#8203;6205]: https://togithub.com/tokio-rs/tokio/pull/6205

[#&#8203;6252]: https://togithub.com/tokio-rs/tokio/pull/6252

[#&#8203;6280]: https://togithub.com/tokio-rs/tokio/pull/6280

[#&#8203;6276]: https://togithub.com/tokio-rs/tokio/pull/6276

[#&#8203;6265]: https://togithub.com/tokio-rs/tokio/pull/6265

[#&#8203;6254]: https://togithub.com/tokio-rs/tokio/pull/6254

[#&#8203;6293]: https://togithub.com/tokio-rs/tokio/pull/6293

[#&#8203;6238]: https://togithub.com/tokio-rs/tokio/pull/6238

[#&#8203;6152]: https://togithub.com/tokio-rs/tokio/pull/6152

[#&#8203;6298]: https://togithub.com/tokio-rs/tokio/pull/6298

[#&#8203;6262]: https://togithub.com/tokio-rs/tokio/pull/6262

[#&#8203;6303]: https://togithub.com/tokio-rs/tokio/pull/6303

[#&#8203;6261]: https://togithub.com/tokio-rs/tokio/pull/6261

[#&#8203;6304]: https://togithub.com/tokio-rs/tokio/pull/6304

[#&#8203;6294]: https://togithub.com/tokio-rs/tokio/pull/6294

[#&#8203;6279]: https://togithub.com/tokio-rs/tokio/pull/6279

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "every weekend" (UTC), Automerge - At
any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **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 these
updates again.

---

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

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/bitwarden/sdk).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNTMuMiIsInVwZGF0ZWRJblZlciI6IjM3LjE1My4yIiwidGFyZ2V0QnJhbmNoIjoibWFpbiJ9-->

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Feb 5, 2024
1 parent ddd9888 commit 098870d
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 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.

2 changes: 1 addition & 1 deletion crates/bitwarden-generators/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ uniffi = { version = "=0.26.1", optional = true }

[dev-dependencies]
rand_chacha = "0.3.1"
tokio = { version = "1.35.1", features = ["rt", "macros"] }
tokio = { version = "1.36.0", features = ["rt", "macros"] }
wiremock = "0.5.22"
2 changes: 1 addition & 1 deletion crates/bitwarden-py/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ bitwarden-json = { path = "../bitwarden-json", features = ["secrets"] }
pyo3-build-config = { version = "0.20.2" }

[target.'cfg(not(target_arch="wasm32"))'.dependencies]
tokio = { version = "1.35.1", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
pyo3-asyncio = { version = "0.20.0", features = [
"attributes",
"tokio-runtime",
Expand Down
2 changes: 1 addition & 1 deletion crates/bitwarden/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,6 @@ reqwest = { version = "*", features = [

[dev-dependencies]
rand_chacha = "0.3.1"
tokio = { version = "1.35.1", features = ["rt", "macros"] }
tokio = { version = "1.36.0", features = ["rt", "macros"] }
wiremock = "0.5.22"
zeroize = { version = ">=1.7.0, <2.0", features = ["derive", "aarch64"] }
2 changes: 1 addition & 1 deletion crates/bw/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ color-eyre = "0.6"
env_logger = "0.11.1"
inquire = "0.6.2"
log = "0.4.20"
tokio = { version = "1.35.1", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }

bitwarden = { path = "../bitwarden", version = "0.4.0", features = [
"internal",
Expand Down
2 changes: 1 addition & 1 deletion crates/bws/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ serde_json = "^1.0.113"
serde_yaml = "0.9"
supports-color = "2.1.0"
thiserror = "1.0.56"
tokio = { version = "1.35.1", features = ["rt-multi-thread", "macros"] }
tokio = { version = "1.36.0", features = ["rt-multi-thread", "macros"] }
toml = "0.8.9"
uuid = { version = "^1.7.0", features = ["serde"] }

Expand Down

0 comments on commit 098870d

Please sign in to comment.