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 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" 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). 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