Skip to content
This repository was archived by the owner on Jul 22, 2023. It is now read-only.

Commit 0201aa5

Browse files
Calciumdibromid Botcabr2-bot
authored andcommitted
Update Rust crate tokio to 1.18.0 (#1327)
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dependencies | minor | `1.17.0` -> `1.18.0` | | [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.17.0` -> `1.18.0` | --- ### Release Notes <details> <summary>tokio-rs/tokio</summary> ### [`v1.18.0`](https://github.com/tokio-rs/tokio/releases/tokio-1.18.0) [Compare Source](tokio-rs/tokio@tokio-1.17.0...tokio-1.18.0) ##### 1.18.0 (April 27, 2022) This release adds a number of new APIs in `tokio::net`, `tokio::signal`, and `tokio::sync`. In addition, it adds new unstable APIs to `tokio::task` (`Id`s for uniquely identifying a task, and `AbortHandle` for remotely cancelling a task), as well as a number of bugfixes. ##### Fixed - blocking: add missing `#[track_caller]` for `spawn_blocking` ([#&#8203;4616](tokio-rs/tokio#4616)) - macros: fix `select` macro to process 64 branches ([#&#8203;4519](tokio-rs/tokio#4519)) - net: fix `try_io` methods not calling Mio's `try_io` internally ([#&#8203;4582](tokio-rs/tokio#4582)) - runtime: recover when OS fails to spawn a new thread ([#&#8203;4485](tokio-rs/tokio#4485)) ##### Added - macros: support setting a custom crate name for `#[tokio::main]` and `#[tokio::test]` ([#&#8203;4613](tokio-rs/tokio#4613)) - net: add `UdpSocket::peer_addr` ([#&#8203;4611](tokio-rs/tokio#4611)) - net: add `try_read_buf` method for named pipes ([#&#8203;4626](tokio-rs/tokio#4626)) - signal: add `SignalKind` `Hash`/`Eq` impls and `c_int` conversion ([#&#8203;4540](tokio-rs/tokio#4540)) - signal: add support for signals up to `SIGRTMAX` ([#&#8203;4555](tokio-rs/tokio#4555)) - sync: add `watch::Sender::send_modify` method ([#&#8203;4310](tokio-rs/tokio#4310)) - sync: add `broadcast::Receiver::len` method ([#&#8203;4542](tokio-rs/tokio#4542)) - sync: add `watch::Receiver::same_channel` method ([#&#8203;4581](tokio-rs/tokio#4581)) - sync: implement `Clone` for `RecvError` types ([#&#8203;4560](tokio-rs/tokio#4560)) ##### Changed - update `mio` to 0.8.1 ([#&#8203;4582](tokio-rs/tokio#4582)) - macros: rename `tokio::select!`'s internal `util` module ([#&#8203;4543](tokio-rs/tokio#4543)) - runtime: use `Vec::with_capacity` when building runtime ([#&#8203;4553](tokio-rs/tokio#4553)) ##### Documented - improve docs for `tokio_unstable` ([#&#8203;4524](tokio-rs/tokio#4524)) - runtime: include more documentation for thread_pool/worker ([#&#8203;4511](tokio-rs/tokio#4511)) - runtime: update `Handle::current`'s docs to mention `EnterGuard` ([#&#8203;4567](tokio-rs/tokio#4567)) - time: clarify platform specific timer resolution ([#&#8203;4474](tokio-rs/tokio#4474)) - signal: document that `Signal::recv` is cancel-safe ([#&#8203;4634](tokio-rs/tokio#4634)) - sync: `UnboundedReceiver` close docs ([#&#8203;4548](tokio-rs/tokio#4548)) ##### Unstable The following changes only apply when building with `--cfg tokio_unstable`: - task: add `task::Id` type ([#&#8203;4630](tokio-rs/tokio#4630)) - task: add `AbortHandle` type for cancelling tasks in a `JoinSet` ([#&#8203;4530](tokio-rs/tokio#4530)], \[[#&#8203;4640](tokio-rs/tokio#4640)) - task: fix missing `doc(cfg(...))` attributes for `JoinSet` ([#&#8203;4531](tokio-rs/tokio#4531)) - task: fix broken link in `AbortHandle` RustDoc ([#&#8203;4545](tokio-rs/tokio#4545)) - metrics: add initial IO driver metrics ([#&#8203;4507](tokio-rs/tokio#4507)) </details> --- ### Configuration 📅 **Schedule**: 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. --- - [ ] <!-- rebase-check -->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 <[email protected]> Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1327 Reviewed-by: crapStone <[email protected]> Co-authored-by: Calciumdibromid Bot <[email protected]> Co-committed-by: Calciumdibromid Bot <[email protected]>
1 parent 36440ed commit 0201aa5

File tree

9 files changed

+34
-18
lines changed

9 files changed

+34
-18
lines changed

crates/config/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ log = "0.4.16"
1717
serde = { version = "1.0.136", features = ["derive"] }
1818
serde_json = "1.0.79"
1919
thiserror = "1.0.30"
20-
tokio = { version = "1.17.0", features = ["fs", "io-util"] }
20+
tokio = { version = "1.18.0", features = ["fs", "io-util"] }
2121
toml = { version = "0.5.9", features = ["preserve_order"] }
2222
types = { path = "../types/" }
2323

crates/load_save/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@ regex = { version = "1.5.5", optional = true }
2323
serde = { version = "1.0.136", features = ["derive"] }
2424
serde_json = { version = "1.0.79", optional = true }
2525
thiserror = "1.0.30"
26-
tokio = { version = "1.17.0", features = ["fs"], optional = true }
26+
tokio = { version = "1.18.0", features = ["fs"], optional = true }
2727
types = { path = "../types/", features = ["lock"] }
2828
wkhtmltopdf = { version = "0.4.0", optional = true }
2929

3030
[dev-dependencies]
31-
tokio = { version = "1.17.0", features = ["rt", "macros"] }
31+
tokio = { version = "1.18.0", features = ["rt", "macros"] }
3232

3333
[features]
3434
beryllium = ["chrono", "quick-xml", "regex"]

crates/logger/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@ config = { path = "../config/" }
1515
fern = "0.6.1"
1616
log = "0.4.16"
1717
serde = { version = "1.0.136", features = ["derive"], optional = true }
18-
tokio = "1.17.0"
18+
tokio = "1.18.0"
1919
types = { path = "../types/" }

crates/search/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ serde = { version = "1.0.136", features = ["derive"] }
2525
serde_json = "1.0.79"
2626
structopt = { version = "0.3.26", optional = true }
2727
thiserror = "1.0.30"
28-
tokio = { version = "1.17.0", default-features = false, optional = true }
28+
tokio = { version = "1.18.0", default-features = false, optional = true }
2929
types = { path = "../types/", features = ["lock"] }
3030

3131
[features]

crates/types/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ cfg-if = { version = "1.0.0", optional = true }
1414
chrono = { version = "0.4.19", features = ["serde"] }
1515
log = "0.4.16"
1616
serde = { version = "1.0.136", features = ["derive"] }
17-
tokio = { version = "1.17.0", features = ["sync"], default-features = false, optional = true }
17+
tokio = { version = "1.18.0", features = ["sync"], default-features = false, optional = true }
1818

1919
[features]
2020
lock = ["cfg-if"]

frontend/src-tauri/Cargo.lock

Lines changed: 12 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

frontend/src-tauri/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ logger = { path = "../../crates/logger/" }
2424
search = { path = "../../crates/search/" }
2525
serde_json = "1.0.79"
2626
tauri = { version = "1.0.0-rc.6", features = ["api-all"] }
27-
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
27+
tokio = { version = "1.18.0", features = ["macros", "rt-multi-thread"] }
2828
types = { path = "../../crates/types" }
2929

3030
[features]

webserver/Cargo.lock

Lines changed: 14 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

webserver/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ log = "0.4.16"
1919
logger = { path = "../crates/logger/" }
2020
search = { path = "../crates/search/" }
2121
serde = { version = "1.0.136", features = ["derive"] }
22-
tokio = { version = "1.17.0", features = ["macros", "rt-multi-thread"] }
22+
tokio = { version = "1.18.0", features = ["macros", "rt-multi-thread"] }
2323
types = { path = "../crates/types/" }
2424
uuid = { version = "1.0.0", features = ["serde", "v4"] }
2525
warp = "0.3.2"

0 commit comments

Comments
 (0)