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.24.1 (#1703)
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.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

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

### [`v1.24.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.24.1): Tokio v1.24.1

[Compare Source](tokio-rs/tokio@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. ([#&#8203;5356])

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

### [`v1.24.0`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.24.0): Tokio v1.24.0

[Compare Source](tokio-rs/tokio@tokio-1.23.1...tokio-1.24.0)

The highlight of this release is the reduction of lock contention for all I/O operations ([#&#8203;5300](tokio-rs/tokio#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 ([#&#8203;5284])

##### Added

-   rt: add configuration option for max number of I/O events polled from the OS
    per tick ([#&#8203;5186])
-   rt: add an environment variable for configuring the default number of worker
    threads per runtime instance ([#&#8203;4250])

##### Changed

-   sync: reduce MPSC channel stack usage ([#&#8203;5294])
-   io: reduce lock contention in I/O operations  ([#&#8203;5300])
-   fs: speed up `read_dir()` by chunking operations ([#&#8203;5309])
-   rt: use internal `ThreadId` implementation ([#&#8203;5329])
-   test: don't auto-advance time when a `spawn_blocking` task is running ([#&#8203;5115])

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

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

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

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

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

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

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

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

### [`v1.23.1`](https://github.com/tokio-rs/tokio/releases/tag/tokio-1.23.1): Tokio v1.23.1

[Compare Source](tokio-rs/tokio@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 ([#&#8203;5336]).

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

</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.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNC44NC4xIiwidXBkYXRlZEluVmVyIjoiMzQuODQuMSJ9-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1703
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 Jan 6, 2023
1 parent 550efb0 commit 812fb4a
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.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/" }

Expand Down
4 changes: 2 additions & 2 deletions crates/load_save/Cargo.toml
Expand Up @@ -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"]
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.152", features = ["derive"], optional = true }
tokio = "1.23.0"
tokio = "1.24.1"
types = { path = "../types/" }
2 changes: 1 addition & 1 deletion crates/search/Cargo.toml
Expand Up @@ -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]
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.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"]
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.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]
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.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"
Expand Down

0 comments on commit 812fb4a

Please sign in to comment.