From a5ec08fb495089ef38ef423b171e28424b1881df Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Thu, 21 Mar 2024 14:31:59 +0000 Subject: [PATCH 1/4] Update dependency Rust to v1.77.0 --- rust-toolchain | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rust-toolchain b/rust-toolchain index 32a6ce3c7..79e15fd49 100644 --- a/rust-toolchain +++ b/rust-toolchain @@ -1 +1 @@ -1.76.0 +1.77.0 From d847e745fc62c433fd032de72f6dbd87c7015759 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sun, 24 Mar 2024 00:08:21 +0900 Subject: [PATCH 2/4] Fix Clippy lints --- crates/voicevox_core/src/engine/full_context_label.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/voicevox_core/src/engine/full_context_label.rs b/crates/voicevox_core/src/engine/full_context_label.rs index d4099a900..06cfdd0fd 100644 --- a/crates/voicevox_core/src/engine/full_context_label.rs +++ b/crates/voicevox_core/src/engine/full_context_label.rs @@ -177,8 +177,8 @@ pub fn mora_to_text(consonant: Option<&str>, vowel: &str) -> String { engine::mora2text(&mora_text).to_string() } -// FIXME: Remove `chunk_by` module after Rust 1.77.0 is released as stable. -use chunk_by::*; +// FIXME: Rust 1.77の新機能導入と共にこれを消す +#[allow(unused_imports)] mod chunk_by { // Implementations in this module were copied from // [Rust](https://github.com/rust-lang/rust/blob/746a58d4359786e4aebb372a30829706fa5a968f/library/core/src/slice/iter.rs). From f0aada6b84794369678f071f5be09a185f5e6940 Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sun, 24 Mar 2024 00:13:19 +0900 Subject: [PATCH 3/4] =?UTF-8?q?`cargo=20metadata`=E3=81=AE`id`=E3=82=92?= =?UTF-8?q?=E3=83=91=E3=83=BC=E3=82=B9=E3=81=99=E3=82=8B=E3=81=A8=E3=81=84?= =?UTF-8?q?=E3=81=86=E4=B8=8D=E5=B1=8A=E3=81=8D=E3=81=AA=E8=A1=8C=E7=82=BA?= =?UTF-8?q?=E3=82=92=E3=82=84=E3=82=81=E3=82=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3e47256f3..4ff92a84b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -151,7 +151,8 @@ jobs: metadata=$(cargo metadata --format-version 1) version=$( jq -r ' - (.workspace_members[] | select(startswith("xtask "))) as $xtask + .workspace_members as $workspace_members + | (.packages[] | select(.name == "xtask").id | select(. as $id | $workspace_members | index($id))) as $xtask | (.resolve.nodes[] | select(.id == $xtask).deps[] | select(.name == "cbindgen").pkg) as $cbindgen | .packages[] | select(.id == $cbindgen).version ' <<< "$metadata" From 250987f19359bedd5d148044e2f720c12deb227c Mon Sep 17 00:00:00 2001 From: Ryo Yamashita Date: Sun, 24 Mar 2024 00:15:04 +0900 Subject: [PATCH 4/4] =?UTF-8?q?cargo-deny=E3=81=AE=E3=83=90=E3=83=BC?= =?UTF-8?q?=E3=82=B8=E3=83=A7=E3=83=B3=E3=82=920.13=E3=81=8B=E3=82=890.14?= =?UTF-8?q?=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/cargo-deny.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/cargo-deny.yml b/.github/workflows/cargo-deny.yml index ac4978b9a..cf600f535 100644 --- a/.github/workflows/cargo-deny.yml +++ b/.github/workflows/cargo-deny.yml @@ -13,7 +13,7 @@ jobs: - name: Install cargo-binstall uses: taiki-e/install-action@cargo-binstall - name: Install cargo-deny - run: cargo binstall cargo-deny@^0.13 --no-confirm --log-level debug + run: cargo binstall cargo-deny@^0.14 --no-confirm --log-level debug - name: cargo-deny run: | if ${{ !!github.event.release }}; then