From 1cbccbc587cdb76e705ff43767949c55fd864078 Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Thu, 14 Jul 2022 14:16:36 +0200 Subject: [PATCH] Update Rust crate tokio to 1.20.0 (#1458) 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.19.2` -> `1.20.0` | | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.19.2` -> `1.20.0` | --- ### Release Notes
tokio-rs/tokio ### [`v1.20.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.20.0) [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.19.2...tokio-1.20.0) ##### 1.20.0 (July 12, 2022) ##### Added - tokio: add track_caller to public APIs ([#​4772], [#​4791], [#​4793], [#​4806], [#​4808]) - sync: Add `has_changed` method to `watch::Ref` ([#​4758]) ##### Changed - time: remove `src/time/driver/wheel/stack.rs` ([#​4766]) - rt: clean up arguments passed to basic scheduler ([#​4767]) - net: be more specific about winapi features ([#​4764]) - tokio: use const initialized thread locals where possible ([#​4677]) - task: various small improvements to LocalKey ([#​4795]) ##### Fixed ##### Documented - fs: warn about performance pitfall ([#​4762]) - chore: fix spelling ([#​4769]) - sync: document spurious failures in oneshot ([#​4777]) - sync: add warning for watch in non-Send futures ([#​4741]) - chore: fix typo ([#​4798]) ##### Unstable - joinset: rename `join_one` to `join_next` ([#​4755]) - rt: unhandled panic config for current thread rt ([#​4770]) [#​4677]: https://github.com/tokio-rs/tokio/pull/4677 [#​4741]: https://github.com/tokio-rs/tokio/pull/4741 [#​4755]: https://github.com/tokio-rs/tokio/pull/4755 [#​4758]: https://github.com/tokio-rs/tokio/pull/4758 [#​4762]: https://github.com/tokio-rs/tokio/pull/4762 [#​4764]: https://github.com/tokio-rs/tokio/pull/4764 [#​4766]: https://github.com/tokio-rs/tokio/pull/4766 [#​4767]: https://github.com/tokio-rs/tokio/pull/4767 [#​4769]: https://github.com/tokio-rs/tokio/pull/4769 [#​4770]: https://github.com/tokio-rs/tokio/pull/4770 [#​4772]: https://github.com/tokio-rs/tokio/pull/4772 [#​4777]: https://github.com/tokio-rs/tokio/pull/4777 [#​4791]: https://github.com/tokio-rs/tokio/pull/4791 [#​4793]: https://github.com/tokio-rs/tokio/pull/4793 [#​4795]: https://github.com/tokio-rs/tokio/pull/4795 [#​4798]: https://github.com/tokio-rs/tokio/pull/4798 [#​4806]: https://github.com/tokio-rs/tokio/pull/4806 [#​4808]: https://github.com/tokio-rs/tokio/pull/4808
--- ### 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, click this checkbox. --- 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/1458 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 | 5 +++-- frontend/src-tauri/Cargo.toml | 2 +- webserver/Cargo.lock | 5 +++-- webserver/Cargo.toml | 2 +- 9 files changed, 14 insertions(+), 12 deletions(-) diff --git a/crates/config/Cargo.toml b/crates/config/Cargo.toml index d9460f122..5cf3d5296 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.17" serde = { version = "1.0.139", features = ["derive"] } serde_json = "1.0.82" thiserror = "1.0.31" -tokio = { version = "1.19.2", features = ["fs", "io-util"] } +tokio = { version = "1.20.0", features = ["fs", "io-util"] } toml = { version = "0.5.9", features = ["preserve_order"] } types = { path = "../types/" } diff --git a/crates/load_save/Cargo.toml b/crates/load_save/Cargo.toml index 1147ee0a3..386938345 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -23,12 +23,12 @@ regex = { version = "1.6.0", optional = true } serde = { version = "1.0.139", features = ["derive"] } serde_json = { version = "1.0.82", optional = true } thiserror = "1.0.31" -tokio = { version = "1.19.2", features = ["fs"], optional = true } +tokio = { version = "1.20.0", features = ["fs"], optional = true } types = { path = "../types/", features = ["lock"] } wkhtmltopdf = { version = "0.4.0", optional = true } [dev-dependencies] -tokio = { version = "1.19.2", features = ["rt", "macros"] } +tokio = { version = "1.20.0", features = ["rt", "macros"] } [features] beryllium = ["chrono", "quick-xml", "regex"] diff --git a/crates/logger/Cargo.toml b/crates/logger/Cargo.toml index 9b2b8a565..7be01d412 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.139", features = ["derive"], optional = true } -tokio = "1.19.2" +tokio = "1.20.0" types = { path = "../types/" } diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index 42a1b687d..87f66883a 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -25,7 +25,7 @@ serde = { version = "1.0.139", features = ["derive"] } serde_json = "1.0.82" structopt = { version = "0.3.26", optional = true } thiserror = "1.0.31" -tokio = { version = "1.19.2", default-features = false, optional = true } +tokio = { version = "1.20.0", default-features = false, optional = true } types = { path = "../types/", features = ["lock"] } [features] diff --git a/crates/types/Cargo.toml b/crates/types/Cargo.toml index 9e7576ad7..53bb5e633 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.19", features = ["serde"] } log = "0.4.17" serde = { version = "1.0.139", features = ["derive"] } -tokio = { version = "1.19.2", features = ["sync"], default-features = false, optional = true } +tokio = { version = "1.20.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 a1ddecea3..47d42cfd8 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -3700,10 +3700,11 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.19.2" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" +checksum = "57aec3cfa4c296db7255446efb4928a6be304b431a806216105542a67b6ca82e" dependencies = [ + "autocfg", "bytes", "libc", "memchr", diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index 49b8a3cdc..798f80ef0 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.82" tauri = { version = "1.0.3", features = ["api-all"] } -tokio = { version = "1.19.2", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.20.0", features = ["macros", "rt-multi-thread"] } types = { path = "../../crates/types" } [features] diff --git a/webserver/Cargo.lock b/webserver/Cargo.lock index 010cf7d3f..b8541f361 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -1708,10 +1708,11 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.19.2" +version = "1.20.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c51a52ed6686dd62c320f9b89299e9dfb46f730c7a48e635c19f21d116cb1439" +checksum = "57aec3cfa4c296db7255446efb4928a6be304b431a806216105542a67b6ca82e" dependencies = [ + "autocfg", "bytes", "libc", "memchr", diff --git a/webserver/Cargo.toml b/webserver/Cargo.toml index e0452d392..7f6f2c1a2 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.139", features = ["derive"] } -tokio = { version = "1.19.2", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.20.0", features = ["macros", "rt-multi-thread"] } types = { path = "../crates/types/" } uuid = { version = "1.1.2", features = ["serde", "v4"] } warp = "0.3.2"