From b35dea66f601b5f325ee4915b400173bd721c1c2 Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Sat, 29 Apr 2023 19:48:44 +0000 Subject: [PATCH] Update Rust crate tokio to 1.28.0 (#1875) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dependencies | minor | `1.27.0` -> `1.28.0` | | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.27.0` -> `1.28.0` | --- ### Release Notes
tokio-rs/tokio ### [`v1.28.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.28.0): Tokio v1.28.0 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.27.0...tokio-1.28.0) ##### 1.28.0 (April 25th, 2023) ##### Added - io: add `AsyncFd::async_io` ([#​5542]) - io: impl BufMut for ReadBuf ([#​5590]) - net: add `recv_buf` for `UdpSocket` and `UnixDatagram` ([#​5583]) - sync: add `OwnedSemaphorePermit::semaphore` ([#​5618]) - sync: add `same_channel` to broadcast channel ([#​5607]) - sync: add `watch::Receiver::wait_for` ([#​5611]) - task: add `JoinSet::spawn_blocking` and `JoinSet::spawn_blocking_on` ([#​5612]) ##### Changed - deps: update windows-sys to 0.48 ([#​5591]) - io: make `read_to_end` not grow unnecessarily ([#​5610]) - macros: make entrypoints more efficient ([#​5621]) - sync: improve Debug impl for `RwLock` ([#​5647]) - sync: reduce contention in `Notify` ([#​5503]) ##### Fixed - net: support `get_peer_cred` on AIX ([#​5065]) - sync: avoid deadlocks in `broadcast` with custom wakers ([#​5578]) ##### Documented - sync: fix typo in `Semaphore::MAX_PERMITS` ([#​5645]) - sync: fix typo in `tokio::sync::watch::Sender` docs ([#​5587]) [#​5065]: https://github.com/tokio-rs/tokio/pull/5065 [#​5503]: https://github.com/tokio-rs/tokio/pull/5503 [#​5542]: https://github.com/tokio-rs/tokio/pull/5542 [#​5578]: https://github.com/tokio-rs/tokio/pull/5578 [#​5583]: https://github.com/tokio-rs/tokio/pull/5583 [#​5587]: https://github.com/tokio-rs/tokio/pull/5587 [#​5590]: https://github.com/tokio-rs/tokio/pull/5590 [#​5591]: https://github.com/tokio-rs/tokio/pull/5591 [#​5607]: https://github.com/tokio-rs/tokio/pull/5607 [#​5610]: https://github.com/tokio-rs/tokio/pull/5610 [#​5611]: https://github.com/tokio-rs/tokio/pull/5611 [#​5612]: https://github.com/tokio-rs/tokio/pull/5612 [#​5618]: https://github.com/tokio-rs/tokio/pull/5618 [#​5621]: https://github.com/tokio-rs/tokio/pull/5621 [#​5645]: https://github.com/tokio-rs/tokio/pull/5645 [#​5647]: https://github.com/tokio-rs/tokio/pull/5647
--- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), 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. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Co-authored-by: cabr2-bot Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1875 Reviewed-by: crapStone Co-authored-by: Calciumdibromid Bot Co-committed-by: Calciumdibromid Bot --- crates/config/Cargo.toml | 2 +- crates/load_save/Cargo.toml | 4 ++-- crates/search/Cargo.toml | 2 +- crates/types/Cargo.toml | 2 +- frontend/src-tauri/Cargo.lock | 10 +++++----- frontend/src-tauri/Cargo.toml | 2 +- webserver/Cargo.lock | 10 +++++----- webserver/Cargo.toml | 2 +- 8 files changed, 17 insertions(+), 17 deletions(-) diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index a397580f..741fa9f6 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.17" serde = { version = "1.0.160", features = ["derive"] } serde_json = "1.0.96" thiserror = "1.0.40" -tokio = { version = "1.27.0", features = ["fs", "io-util"] } +tokio = { version = "1.28.0", features = ["fs", "io-util"] } toml = { version = "0.7.3", features = ["preserve_order"] } types = { path = "../types/" } diff --git a/crates/load_save/Cargo.toml b/crates/load_save/Cargo.toml index ef21de2b..357cb150 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -21,7 +21,7 @@ regex = { version = "1.7.3", optional = true } serde = { version = "1.0.160", features = ["derive"] } serde_json = { version = "1.0.96", optional = true } thiserror = "1.0.40" -tokio = { version = "1.27.0", features = ["fs"], optional = true } +tokio = { version = "1.28.0", features = ["fs"], optional = true } wkhtmltopdf = { version = "0.4.0", optional = true } config = { path = "../config/", optional = true } @@ -29,7 +29,7 @@ error-ser = { path = "../error-ser" } types = { path = "../types/", features = ["lock"] } [dev-dependencies] -tokio = { version = "1.27.0", features = ["rt", "macros"] } +tokio = { version = "1.28.0", features = ["rt", "macros"] } [features] beryllium = ["chrono", "quick-xml", "regex"] diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index 65a8f01f..ab39147c 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -24,7 +24,7 @@ serde = { version = "1.0.160", features = ["derive"] } serde_json = "1.0.96" structopt = { version = "0.3.26", optional = true } thiserror = "1.0.40" -tokio = { version = "1.27.0", default-features = false, optional = true } +tokio = { version = "1.28.0", default-features = false, optional = true } error-ser = { path = "../error-ser" } types = { path = "../types/", features = ["lock"] } diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index a7e2af8b..02fac589 100644 --- a/crates/types/Cargo.toml +++ b/crates/types/Cargo.toml @@ -14,7 +14,7 @@ cfg-if = { version = "1.0.0", optional = true } chrono = { version = "0.4.24", features = ["serde"] } log = "0.4.17" serde = { version = "1.0.160", features = ["derive"] } -tokio = { version = "1.27.0", features = ["sync"], default-features = false, optional = true } +tokio = { version = "1.28.0", features = ["sync"], default-features = false, optional = true } [features] lock = ["cfg-if"] diff --git a/frontend/src-tauri/Cargo.lock b/frontend/src-tauri/Cargo.lock index 32dd8112..9060e0b8 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -3557,9 +3557,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.27.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" +checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f" dependencies = [ "autocfg", "bytes", @@ -3569,14 +3569,14 @@ dependencies = [ "pin-project-lite", "socket2", "tokio-macros", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index cd774b3c..76a4db22 100644 --- a/frontend/src-tauri/Cargo.toml +++ b/frontend/src-tauri/Cargo.toml @@ -20,7 +20,7 @@ tauri-build = { version = "1.2.1", features = [] } log = "0.4.17" serde_json = "1.0.96" tauri = { version = "1.2.4", features = ["api-all"] } -tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.28.0", features = ["macros", "rt-multi-thread"] } config = { path = "../../crates/config/", features = [ "tauri-app" ] } load_save = { path = "../../crates/load_save/" } diff --git a/webserver/Cargo.lock b/webserver/Cargo.lock index 71bde5da..6c5eea56 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -1676,9 +1676,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.27.0" +version = "1.28.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" +checksum = "c3c786bf8134e5a3a166db9b29ab8f48134739014a3eca7bc6bfa95d673b136f" dependencies = [ "autocfg", "bytes", @@ -1688,14 +1688,14 @@ dependencies = [ "pin-project-lite", "socket2", "tokio-macros", - "windows-sys 0.45.0", + "windows-sys 0.48.0", ] [[package]] name = "tokio-macros" -version = "2.0.0" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" +checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", diff --git a/webserver/Cargo.toml b/webserver/Cargo.toml index 34736fa5..1f19d30e 100644 --- a/webserver/Cargo.toml +++ b/webserver/Cargo.toml @@ -15,7 +15,7 @@ repository = "https://codeberg.org/Calciumdibromid/CaBr2" [dependencies] log = "0.4.17" serde = { version = "1.0.160", features = ["derive"] } -tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.28.0", features = ["macros", "rt-multi-thread"] } uuid = { version = "1.3.2", features = ["v4"] } warp = { version = "0.3.5", default-features = false, features = ["compression"] } structopt = "0.3.26"