From b6053f29c529a79213d4fd2b38ee4238873b95f8 Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Wed, 29 Mar 2023 18:54:42 +0000 Subject: [PATCH] Update Rust crate tokio to 1.27.0 (#1838) 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.26.0` -> `1.27.0` | | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.26.0` -> `1.27.0` | --- ### Release Notes
tokio-rs/tokio ### [`v1.27.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.27.0): Tokio v1.27.0 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.26.0...tokio-1.27.0) ##### 1.27.0 (March 27th, 2023) This release bumps the MSRV of Tokio to 1.56. ([#​5559]) ##### Added - io: add `async_io` helper method to sockets ([#​5512]) - io: add implementations of `AsFd`/`AsHandle`/`AsSocket` ([#​5514], [#​5540]) - net: add `UdpSocket::peek_sender()` ([#​5520]) - sync: add `RwLockWriteGuard::{downgrade_map, try_downgrade_map}` ([#​5527]) - task: add `JoinHandle::abort_handle` ([#​5543]) ##### Changed - io: use `memchr` from `libc` ([#​5558]) - macros: accept path as crate rename in `#[tokio::main]` ([#​5557]) - macros: update to syn 2.0.0 ([#​5572]) - time: don't register for a wakeup when `Interval` returns `Ready` ([#​5553]) ##### Fixed - fs: fuse std iterator in `ReadDir` ([#​5555]) - tracing: fix `spawn_blocking` location fields ([#​5573]) - time: clean up redundant check in `Wheel::poll()` ([#​5574]) ##### Documented - macros: define cancellation safety ([#​5525]) - io: add details to docs of `tokio::io::copy[_buf]` ([#​5575]) - io: refer to `ReaderStream` and `StreamReader` in module docs ([#​5576]) [#​5512]: https://github.com/tokio-rs/tokio/pull/5512 [#​5514]: https://github.com/tokio-rs/tokio/pull/5514 [#​5520]: https://github.com/tokio-rs/tokio/pull/5520 [#​5525]: https://github.com/tokio-rs/tokio/pull/5525 [#​5527]: https://github.com/tokio-rs/tokio/pull/5527 [#​5540]: https://github.com/tokio-rs/tokio/pull/5540 [#​5543]: https://github.com/tokio-rs/tokio/pull/5543 [#​5553]: https://github.com/tokio-rs/tokio/pull/5553 [#​5555]: https://github.com/tokio-rs/tokio/pull/5555 [#​5557]: https://github.com/tokio-rs/tokio/pull/5557 [#​5558]: https://github.com/tokio-rs/tokio/pull/5558 [#​5559]: https://github.com/tokio-rs/tokio/pull/5559 [#​5572]: https://github.com/tokio-rs/tokio/pull/5572 [#​5573]: https://github.com/tokio-rs/tokio/pull/5573 [#​5574]: https://github.com/tokio-rs/tokio/pull/5574 [#​5575]: https://github.com/tokio-rs/tokio/pull/5575 [#​5576]: https://github.com/tokio-rs/tokio/pull/5576
--- ### 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/1838 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 | 11 +++++------ frontend/src-tauri/Cargo.toml | 2 +- webserver/Cargo.lock | 11 +++++------ webserver/Cargo.toml | 2 +- 8 files changed, 17 insertions(+), 19 deletions(-) diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index 94d122cd6..eddc9616c 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.17" serde = { version = "1.0.156", features = ["derive"] } serde_json = "1.0.94" thiserror = "1.0.39" -tokio = { version = "1.26.0", features = ["fs", "io-util"] } +tokio = { version = "1.27.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 822cb1221..aa3ceb4e4 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -21,7 +21,7 @@ regex = { version = "1.7.1", optional = true } serde = { version = "1.0.156", features = ["derive"] } serde_json = { version = "1.0.94", optional = true } thiserror = "1.0.39" -tokio = { version = "1.26.0", features = ["fs"], optional = true } +tokio = { version = "1.27.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.26.0", features = ["rt", "macros"] } +tokio = { version = "1.27.0", features = ["rt", "macros"] } [features] beryllium = ["chrono", "quick-xml", "regex"] diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index be40148b5..818991d74 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -24,7 +24,7 @@ serde = { version = "1.0.156", features = ["derive"] } serde_json = "1.0.94" structopt = { version = "0.3.26", optional = true } thiserror = "1.0.39" -tokio = { version = "1.26.0", default-features = false, optional = true } +tokio = { version = "1.27.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 aee2e6935..8796644b5 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.156", features = ["derive"] } -tokio = { version = "1.26.0", features = ["sync"], default-features = false, optional = true } +tokio = { version = "1.27.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 e9f7fad66..cdad9a44d 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -3678,14 +3678,13 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.26.0" +version = "1.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" +checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" dependencies = [ "autocfg", "bytes", "libc", - "memchr", "mio", "num_cpus", "pin-project-lite", @@ -3696,13 +3695,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.8.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" +checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.11", ] [[package]] diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index fe8e438bb..740c78bb7 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.94" tauri = { version = "1.2.4", features = ["api-all"] } -tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.27.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 a72896776..b83d7e3d2 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -1760,14 +1760,13 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.26.0" +version = "1.27.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "03201d01c3c27a29c8a5cee5b55a93ddae1ccf6f08f65365c2c918f8c1b76f64" +checksum = "d0de47a4eecbe11f498978a9b29d792f0d2692d1dd003650c24c76510e3bc001" dependencies = [ "autocfg", "bytes", "libc", - "memchr", "mio", "num_cpus", "pin-project-lite", @@ -1778,13 +1777,13 @@ dependencies = [ [[package]] name = "tokio-macros" -version = "1.8.2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d266c00fde287f55d3f1c3e96c500c362a2b8c695076ec180f27918820bc6df8" +checksum = "61a573bdc87985e9d6ddeed1b3d864e8a302c847e40d647746df2f1de209d1ce" dependencies = [ "proc-macro2", "quote", - "syn 1.0.109", + "syn 2.0.11", ] [[package]] diff --git a/webserver/Cargo.toml b/webserver/Cargo.toml index db9ed34a1..6a8808ae3 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.156", features = ["derive"] } -tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread"] } uuid = { version = "1.3.0", features = ["v4"] } warp = { version = "0.3.3", default-features = false, features = ["compression"] } structopt = "0.3.26"