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.27.0 (#1838)
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.26.0` -> `1.27.0` |
| [tokio](https://tokio.rs) ([source](https://github.com/tokio-rs/tokio)) | dev-dependencies | minor | `1.26.0` -> `1.27.0` |

---

### Release Notes

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

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

[Compare Source](tokio-rs/tokio@tokio-1.26.0...tokio-1.27.0)

##### 1.27.0 (March 27th, 2023)

This release bumps the MSRV of Tokio to 1.56. ([#&#8203;5559])

##### Added

-   io: add `async_io` helper method to sockets ([#&#8203;5512])
-   io: add implementations of `AsFd`/`AsHandle`/`AsSocket` ([#&#8203;5514], [#&#8203;5540])
-   net: add `UdpSocket::peek_sender()` ([#&#8203;5520])
-   sync: add `RwLockWriteGuard::{downgrade_map, try_downgrade_map}` ([#&#8203;5527])
-   task: add `JoinHandle::abort_handle` ([#&#8203;5543])

##### Changed

-   io: use `memchr` from `libc` ([#&#8203;5558])
-   macros: accept path as crate rename in `#[tokio::main]` ([#&#8203;5557])
-   macros: update to syn 2.0.0 ([#&#8203;5572])
-   time: don't register for a wakeup when `Interval` returns `Ready` ([#&#8203;5553])

##### Fixed

-   fs: fuse std iterator in `ReadDir` ([#&#8203;5555])
-   tracing: fix `spawn_blocking` location fields ([#&#8203;5573])
-   time: clean up redundant check in `Wheel::poll()` ([#&#8203;5574])

##### Documented

-   macros: define cancellation safety ([#&#8203;5525])
-   io: add details to docs of `tokio::io::copy[_buf]` ([#&#8203;5575])
-   io: refer to `ReaderStream` and `StreamReader` in module docs ([#&#8203;5576])

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

</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:eyJjcmVhdGVkSW5WZXIiOiIzNS4yNC41IiwidXBkYXRlZEluVmVyIjoiMzUuMjQuNSJ9-->

Co-authored-by: cabr2-bot <cabr2.help@gmail.com>
Reviewed-on: https://codeberg.org/Calciumdibromid/CaBr2/pulls/1838
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 Mar 29, 2023
1 parent e20a450 commit b6053f2
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 19 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.156", features = ["derive"] }
serde_json = "1.0.94"
thiserror = "1.0.39"
tokio = { version = "1.26.0", features = ["fs", "io-util"] }
tokio = { version = "1.27.0", features = ["fs", "io-util"] }
toml = { version = "0.7.3", features = ["preserve_order"] }

types = { path = "../types/" }
Expand Down
4 changes: 2 additions & 2 deletions crates/load_save/Cargo.toml
Expand Up @@ -21,15 +21,15 @@ regex = { version = "1.7.1", optional = true }
serde = { version = "1.0.156", features = ["derive"] }
serde_json = { version = "1.0.94", optional = true }
thiserror = "1.0.39"
tokio = { version = "1.26.0", features = ["fs"], optional = true }
tokio = { version = "1.27.0", features = ["fs"], optional = true }
wkhtmltopdf = { version = "0.4.0", optional = true }

config = { path = "../config/", optional = true }
error-ser = { path = "../error-ser" }
types = { path = "../types/", features = ["lock"] }

[dev-dependencies]
tokio = { version = "1.26.0", features = ["rt", "macros"] }
tokio = { version = "1.27.0", features = ["rt", "macros"] }

[features]
beryllium = ["chrono", "quick-xml", "regex"]
Expand Down
2 changes: 1 addition & 1 deletion crates/search/Cargo.toml
Expand Up @@ -24,7 +24,7 @@ serde = { version = "1.0.156", features = ["derive"] }
serde_json = "1.0.94"
structopt = { version = "0.3.26", optional = true }
thiserror = "1.0.39"
tokio = { version = "1.26.0", default-features = false, optional = true }
tokio = { version = "1.27.0", default-features = false, optional = true }

error-ser = { path = "../error-ser" }
types = { path = "../types/", features = ["lock"] }
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.24", features = ["serde"] }
log = "0.4.17"
serde = { version = "1.0.156", features = ["derive"] }
tokio = { version = "1.26.0", features = ["sync"], default-features = false, optional = true }
tokio = { version = "1.27.0", features = ["sync"], default-features = false, optional = true }

[features]
lock = ["cfg-if"]
Expand Down
11 changes: 5 additions & 6 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 @@ -20,7 +20,7 @@ tauri-build = { version = "1.2.1", features = [] }
log = "0.4.17"
serde_json = "1.0.94"
tauri = { version = "1.2.4", features = ["api-all"] }
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread"] }

config = { path = "../../crates/config/", features = [ "tauri-app" ] }
load_save = { path = "../../crates/load_save/" }
Expand Down
11 changes: 5 additions & 6 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 @@ -15,7 +15,7 @@ repository = "https://codeberg.org/Calciumdibromid/CaBr2"
[dependencies]
log = "0.4.17"
serde = { version = "1.0.156", features = ["derive"] }
tokio = { version = "1.26.0", features = ["macros", "rt-multi-thread"] }
tokio = { version = "1.27.0", features = ["macros", "rt-multi-thread"] }
uuid = { version = "1.3.0", features = ["v4"] }
warp = { version = "0.3.3", default-features = false, features = ["compression"] }
structopt = "0.3.26"
Expand Down

0 comments on commit b6053f2

Please sign in to comment.