From d602dbd46606ae38e994aae463a6c9ed93129d3a Mon Sep 17 00:00:00 2001 From: Calciumdibromid Bot Date: Mon, 6 Jun 2022 12:35:27 +0200 Subject: [PATCH] Update Rust crate tokio to 1.19.1 (#1394) 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.18.2` -> `1.19.1` | | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.18.2` -> `1.19.1` | --- ### Release Notes
tokio-rs/tokio ### [`v1.19.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.1) [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.19.0...tokio-1.19.1) ##### 1.19.1 (June 5, 2022) This release fixes a bug in `Notified::enable`. ([#​4747]) [#​4747]: https://github.com/tokio-rs/tokio/pull/4747 ### [`v1.19.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.0) [Compare Source](https://github.com/tokio-rs/tokio/compare/tokio-1.18.2...tokio-1.19.0) ##### 1.19.0 (June 3, 2022) ##### Added - runtime: add `is_finished` method for `JoinHandle` and `AbortHandle` ([#​4709]) - runtime: make global queue and event polling intervals configurable ([#​4671]) - sync: add `Notified::enable` ([#​4705]) - sync: add `watch::Sender::send_if_modified` ([#​4591]) - sync: add resubscribe method to broadcast::Receiver ([#​4607]) - net: add `take_error` to `TcpSocket` and `TcpStream` ([#​4739]) ##### Changed - io: refactor out usage of Weak in the io handle ([#​4656]) ##### Fixed - macros: avoid starvation in `join!` and `try_join!` ([#​4624]) ##### Documented - runtime: clarify semantics of tasks outliving `block_on` ([#​4729]) - time: fix example for `MissedTickBehavior::Burst` ([#​4713]) ##### Unstable - metrics: correctly update atomics in `IoDriverMetrics` ([#​4725]) - metrics: fix compilation with unstable, process, and rt, but without net ([#​4682]) - task: add `#[track_caller]` to `JoinSet`/`JoinMap` ([#​4697]) - task: add `Builder::{spawn_on, spawn_local_on, spawn_blocking_on}` ([#​4683]) - task: add `consume_budget` for cooperative scheduling ([#​4498]) - task: add `join_set::Builder` for configuring `JoinSet` tasks ([#​4687]) - task: update return value of `JoinSet::join_one` ([#​4726]) [#​4498]: https://github.com/tokio-rs/tokio/pull/4498 [#​4591]: https://github.com/tokio-rs/tokio/pull/4591 [#​4607]: https://github.com/tokio-rs/tokio/pull/4607 [#​4624]: https://github.com/tokio-rs/tokio/pull/4624 [#​4656]: https://github.com/tokio-rs/tokio/pull/4656 [#​4671]: https://github.com/tokio-rs/tokio/pull/4671 [#​4682]: https://github.com/tokio-rs/tokio/pull/4682 [#​4683]: https://github.com/tokio-rs/tokio/pull/4683 [#​4687]: https://github.com/tokio-rs/tokio/pull/4687 [#​4697]: https://github.com/tokio-rs/tokio/pull/4697 [#​4705]: https://github.com/tokio-rs/tokio/pull/4705 [#​4709]: https://github.com/tokio-rs/tokio/pull/4709 [#​4713]: https://github.com/tokio-rs/tokio/pull/4713 [#​4725]: https://github.com/tokio-rs/tokio/pull/4725 [#​4726]: https://github.com/tokio-rs/tokio/pull/4726 [#​4729]: https://github.com/tokio-rs/tokio/pull/4729 [#​4739]: https://github.com/tokio-rs/tokio/pull/4739
--- ### 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. --- - [x] 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/1394 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 c0185a245..2e05388f4 100644 --- a/crates/config/Cargo.toml +++ b/crates/config/Cargo.toml @@ -17,7 +17,7 @@ log = "0.4.17" serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.81" thiserror = "1.0.31" -tokio = { version = "1.18.2", features = ["fs", "io-util"] } +tokio = { version = "1.19.1", 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 91a2acc33..bd8042c2e 100644 --- a/crates/load_save/Cargo.toml +++ b/crates/load_save/Cargo.toml @@ -23,12 +23,12 @@ regex = { version = "1.5.6", optional = true } serde = { version = "1.0.137", features = ["derive"] } serde_json = { version = "1.0.81", optional = true } thiserror = "1.0.31" -tokio = { version = "1.18.2", features = ["fs"], optional = true } +tokio = { version = "1.19.1", features = ["fs"], optional = true } types = { path = "../types/", features = ["lock"] } wkhtmltopdf = { version = "0.4.0", optional = true } [dev-dependencies] -tokio = { version = "1.18.2", features = ["rt", "macros"] } +tokio = { version = "1.19.1", features = ["rt", "macros"] } [features] beryllium = ["chrono", "quick-xml", "regex"] diff --git a/crates/logger/Cargo.toml b/crates/logger/Cargo.toml index d4c875cc4..a2e6a0821 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.137", features = ["derive"], optional = true } -tokio = "1.18.2" +tokio = "1.19.1" types = { path = "../types/" } diff --git a/crates/search/Cargo.toml b/crates/search/Cargo.toml index f423b25f9..7f26d319d 100644 --- a/crates/search/Cargo.toml +++ b/crates/search/Cargo.toml @@ -25,7 +25,7 @@ serde = { version = "1.0.137", features = ["derive"] } serde_json = "1.0.81" structopt = { version = "0.3.26", optional = true } thiserror = "1.0.31" -tokio = { version = "1.18.2", default-features = false, optional = true } +tokio = { version = "1.19.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 5889c4aaa..20ef6a7c6 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.137", features = ["derive"] } -tokio = { version = "1.18.2", features = ["sync"], default-features = false, optional = true } +tokio = { version = "1.19.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 afef1e213..c643060a7 100644 --- a/frontend/src-tauri/Cargo.lock +++ b/frontend/src-tauri/Cargo.lock @@ -3632,9 +3632,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.18.2" +version = "1.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395" +checksum = "95eec79ea28c00a365f539f1961e9278fbcaf81c0ff6aaf0e93c181352446948" dependencies = [ "bytes", "libc", diff --git a/frontend/src-tauri/Cargo.toml b/frontend/src-tauri/Cargo.toml index a28996f28..f13ba0c0e 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.81" tauri = { version = "1.0.0-rc.14", features = ["api-all"] } -tokio = { version = "1.18.2", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.19.1", features = ["macros", "rt-multi-thread"] } types = { path = "../../crates/types" } [features] diff --git a/webserver/Cargo.lock b/webserver/Cargo.lock index 9395dca3d..c5c97e336 100644 --- a/webserver/Cargo.lock +++ b/webserver/Cargo.lock @@ -1707,9 +1707,9 @@ checksum = "cda74da7e1a664f795bb1f8a87ec406fb89a02522cf6e50620d016add6dbbf5c" [[package]] name = "tokio" -version = "1.18.2" +version = "1.19.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4903bf0427cf68dddd5aa6a93220756f8be0c34fcfa9f5e6191e103e15a31395" +checksum = "95eec79ea28c00a365f539f1961e9278fbcaf81c0ff6aaf0e93c181352446948" dependencies = [ "bytes", "libc", diff --git a/webserver/Cargo.toml b/webserver/Cargo.toml index 5aac8a463..3c52cd581 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.137", features = ["derive"] } -tokio = { version = "1.18.2", features = ["macros", "rt-multi-thread"] } +tokio = { version = "1.19.1", features = ["macros", "rt-multi-thread"] } types = { path = "../crates/types/" } uuid = { version = "1.1.1", features = ["serde", "v4"] } warp = "0.3.2"