From 812fb4a50f18b6526e59fb611e4d6cec5726cfe8 Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Fri, 6 Jan 2023 11:47:45 +0000 Subject: [PATCH] Update Rust crate tokio to 1.24.1 (#1703) 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.23.0` -> `1.24.1` | | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.23.0` -> `1.24.1` | --- ### Release Notes
tokio-rs/tokio ### [`v1.24.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.24.1): Tokio v1.24.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.24.0...tokio-1.24.1) This release fixes a compilation failure on targets without `AtomicU64` when using rustc older than 1.63. ([#​5356]) [#​5356]: https://github.com/tokio-rs/tokio/pull/5356 ### [`v1.24.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.24.0): Tokio v1.24.0 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.23.1...tokio-1.24.0) The highlight of this release is the reduction of lock contention for all I/O operations ([#​5300](https://github.com/tokio-rs/tokio/issues/5300)). We have received reports of up to a 20% improvement in CPU utilization and increased throughput for real-world I/O heavy applications. ##### Fixed - rt: improve native `AtomicU64` support detection ([#​5284]) ##### Added - rt: add configuration option for max number of I/O events polled from the OS per tick ([#​5186]) - rt: add an environment variable for configuring the default number of worker threads per runtime instance ([#​4250]) ##### Changed - sync: reduce MPSC channel stack usage ([#​5294]) - io: reduce lock contention in I/O operations ([#​5300]) - fs: speed up `read_dir()` by chunking operations ([#​5309]) - rt: use internal `ThreadId` implementation ([#​5329]) - test: don't auto-advance time when a `spawn_blocking` task is running ([#​5115]) [#​5186]: https://github.com/tokio-rs/tokio/pull/5186 [#​5294]: https://github.com/tokio-rs/tokio/pull/5294 [#​5284]: https://github.com/tokio-rs/tokio/pull/5284 [#​4250]: https://github.com/tokio-rs/tokio/pull/4250 [#​5300]: https://github.com/tokio-rs/tokio/pull/5300 [#​5329]: https://github.com/tokio-rs/tokio/pull/5329 [#​5115]: https://github.com/tokio-rs/tokio/pull/5115 [#​5309]: https://github.com/tokio-rs/tokio/pull/5309 ### [`v1.23.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1): Tokio v1.23.1 [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.23.0...tokio-1.23.1) This release forward ports changes from 1.18.4. ##### Fixed - net: fix Windows named pipe server builder to maintain option when toggling pipe mode ([#​5336]). [#​5336]: https://github.com/tokio-rs/tokio/pull/5336
--- ### 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/1703 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/logger/Cargo.toml | 2 +- crates/search/Cargo.toml | 2 +- crates/types/Cargo.toml | 2 +- frontend/src-tauri/Cargo.lock | 4 ++-- frontend/src-tauri/Cargo.toml | 2 +- webserver/Cargo.lock | 4 ++-- webserver/Cargo.toml | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index a1820c3ba..fcec705bb 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.17" serde = { version = "1.0.152", features = ["derive"] } serde_json = "1.0.91" thiserror = "1.0.38" -tokio = { version = "1.23.0", features = ["fs", "io-util"] } +tokio = { version = "1.24.1", features = ["fs", "io-util"] } toml = { version = "0.5.10", features = ["preserve_order"] } types = { path = "../types/" } diff --git a/crates/load_save/Cargo.toml b/crates/load_save/Cargo.toml index 910ca4f6c..eaa27eb3d 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -23,12 +23,12 @@ regex = { version = "1.7.0", optional = true } serde = { version = "1.0.152", features = ["derive"] } serde_json = { version = "1.0.91", optional = true } thiserror = "1.0.38" -tokio = { version = "1.23.0", features = ["fs"], optional = true } +tokio = { version = "1.24.1", features = ["fs"], optional = true } types = { path = "../types/", features = ["lock"] } wkhtmltopdf = { version = "0.4.0", optional = true } [dev-dependencies] -tokio = { version = "1.23.0", features = ["rt", "macros"] } +tokio = { version = "1.24.1", features = ["rt", "macros"] } [features] beryllium = ["chrono", "quick-xml", "regex"] diff --git a/crates/logger/Cargo.toml b/crates/logger/Cargo.toml index 8bda15df0..ed969708b 100644 --- a/crates/logger/Cargo.toml +++ b/crates/logger/Cargo.toml @@ -15,5 +15,5 @@ config = { path = "../config/" } fern = "0.6.1" log = "0.4.17" serde = { version = "1.0.152", features = ["derive"], optional = true } -tokio = "1.23.0" +tokio = "1.24.1" types = { path = "../types/" } diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index ad44068ce..9320ffd11 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -25,7 +25,7 @@ serde = { version = "1.0.152", features = ["derive"] } serde_json = "1.0.91" structopt = { version = "0.3.26", optional = true } thiserror = "1.0.38" -tokio = { version = "1.23.0", default-features = false, optional = true } +tokio = { version = "1.24.1", default-features = false, optional = true } types = { path = "../types/", features = ["lock"] } [features] diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index ed5c01848..fea6ad080 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.23", features = ["serde"] } log = "0.4.17" serde = { version = "1.0.152", features = ["derive"] } -tokio = { version = "1.23.0", features = ["sync"], default-features = false, optional = true } +tokio = { version = "1.24.1", 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 48848e661..a9e78b983 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -3641,9 +3641,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.23.0" +version = "1.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46" +checksum = "1d9f76183f91ecfb55e1d7d5602bd1d979e38a3a522fe900241cf195624d67ae" dependencies = [ "autocfg", "bytes", diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index 2d9069536..2a40a5b91 100644 --- a/frontend/src-tauri/Cargo.toml +++ b/frontend/src-tauri/Cargo.toml @@ -24,7 +24,7 @@ logger = { path = "../../crates/logger/" } search = { path = "../../crates/search/" } serde_json = "1.0.91" tauri = { version = "1.2.3", features = ["api-all"] } -tokio = { version = "1.23.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.24.1", features = ["macros", "rt-multi-thread"] } types = { path = "../../crates/types" } [features] diff --git a/webserver/Cargo.lock b/webserver/Cargo.lock index f1c3fe7a3..0a637ea18 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -1726,9 +1726,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.23.0" +version = "1.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eab6d665857cc6ca78d6e80303a02cea7a7851e85dfbd77cbdc09bd129f1ef46" +checksum = "1d9f76183f91ecfb55e1d7d5602bd1d979e38a3a522fe900241cf195624d67ae" dependencies = [ "autocfg", "bytes", diff --git a/webserver/Cargo.toml b/webserver/Cargo.toml index 150f1998d..cb8242e55 100644 --- a/webserver/Cargo.toml +++ b/webserver/Cargo.toml @@ -19,7 +19,7 @@ log = "0.4.17" logger = { path = "../crates/logger/" } search = { path = "../crates/search/" } serde = { version = "1.0.152", features = ["derive"] } -tokio = { version = "1.23.0", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.24.1", features = ["macros", "rt-multi-thread"] } types = { path = "../crates/types/" } uuid = { version = "1.2.2", features = ["serde", "v4"] } warp = "0.3.3"