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

Commit

Permalink
Update Rust crate tokio to 1.19.1 (#1394)
Browse files Browse the repository at this point in the history
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

<details>
<summary>tokio-rs/tokio</summary>

### [`v1.19.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.1)

[Compare Source](tokio-rs/tokio@tokio-1.19.0...tokio-1.19.1)

##### 1.19.1 (June 5, 2022)

This release fixes a bug in `Notified::enable`. ([#&#8203;4747])

[#&#8203;4747]: tokio-rs/tokio#4747

### [`v1.19.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.19.0)

[Compare Source](tokio-rs/tokio@tokio-1.18.2...tokio-1.19.0)

##### 1.19.0 (June 3, 2022)

##### Added

-   runtime: add `is_finished` method for `JoinHandle` and `AbortHandle` ([#&#8203;4709])
-   runtime: make global queue and event polling intervals configurable ([#&#8203;4671])
-   sync: add `Notified::enable` ([#&#8203;4705])
-   sync: add `watch::Sender::send_if_modified` ([#&#8203;4591])
-   sync: add resubscribe method to broadcast::Receiver ([#&#8203;4607])
-   net: add `take_error` to `TcpSocket` and `TcpStream` ([#&#8203;4739])

##### Changed

-   io: refactor out usage of Weak in the io handle ([#&#8203;4656])

##### Fixed

-   macros: avoid starvation in `join!` and `try_join!` ([#&#8203;4624])

##### Documented

-   runtime: clarify semantics of tasks outliving `block_on` ([#&#8203;4729])
-   time: fix example for `MissedTickBehavior::Burst` ([#&#8203;4713])

##### Unstable

-   metrics: correctly update atomics in `IoDriverMetrics` ([#&#8203;4725])
-   metrics: fix compilation with unstable, process, and rt, but without net ([#&#8203;4682])
-   task: add `#[track_caller]` to `JoinSet`/`JoinMap` ([#&#8203;4697])
-   task: add `Builder::{spawn_on, spawn_local_on, spawn_blocking_on}` ([#&#8203;4683])
-   task: add `consume_budget` for cooperative scheduling ([#&#8203;4498])
-   task: add `join_set::Builder` for configuring `JoinSet` tasks ([#&#8203;4687])
-   task: update return value of `JoinSet::join_one` ([#&#8203;4726])

[#&#8203;4498]: tokio-rs/tokio#4498

[#&#8203;4591]: tokio-rs/tokio#4591

[#&#8203;4607]: tokio-rs/tokio#4607

[#&#8203;4624]: tokio-rs/tokio#4624

[#&#8203;4656]: tokio-rs/tokio#4656

[#&#8203;4671]: tokio-rs/tokio#4671

[#&#8203;4682]: tokio-rs/tokio#4682

[#&#8203;4683]: tokio-rs/tokio#4683

[#&#8203;4687]: tokio-rs/tokio#4687

[#&#8203;4697]: tokio-rs/tokio#4697

[#&#8203;4705]: tokio-rs/tokio#4705

[#&#8203;4709]: tokio-rs/tokio#4709

[#&#8203;4713]: tokio-rs/tokio#4713

[#&#8203;4725]: tokio-rs/tokio#4725

[#&#8203;4726]: tokio-rs/tokio#4726

[#&#8203;4729]: tokio-rs/tokio#4729

[#&#8203;4739]: tokio-rs/tokio#4739

</details>

---

### 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] <!-- 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 <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1394
Reviewed-by: crapStone <crapstone@noreply.codeberg.org>
Co-authored-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
Co-committed-by: Calciumdibromid Bot <cabr2_bot@noreply.codeberg.org>
  • Loading branch information
2 people authored and crapStone committed Jun 6, 2022
1 parent 1fc837c commit d602dbd
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion crates/config/Cargo.toml
Expand Up @@ -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/" }

Expand Down
4 changes: 2 additions & 2 deletions crates/load_save/Cargo.toml
Expand Up @@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion crates/logger/Cargo.toml
Expand Up @@ -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/" }
2 changes: 1 addition & 1 deletion crates/search/Cargo.toml
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion crates/types/Cargo.toml
Expand Up @@ -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"]
Expand Down
4 changes: 2 additions & 2 deletions frontend/src-tauri/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion frontend/src-tauri/Cargo.toml
Expand Up @@ -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]
Expand Down
4 changes: 2 additions & 2 deletions webserver/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webserver/Cargo.toml
Expand Up @@ -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"
Expand Down

0 comments on commit d602dbd

Please sign in to comment.