From d48367a5aa6d493ed97e8b7bf9ed8ee8d6c1e1d9 Mon Sep 17 00:00:00 2001 From: galister <22305755+galister@users.noreply.github.com> Date: Wed, 15 Jul 2026 09:42:33 +0900 Subject: [PATCH] bundle newer whisper.cpp --- Cargo.lock | 23 ++++++----------------- wayvr/Cargo.toml | 8 +++++++- 2 files changed, 13 insertions(+), 18 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8eae3b99..649e499b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -486,7 +486,7 @@ dependencies = [ "bitflags 2.13.0", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.10.5", "log", "proc-macro2", "quote", @@ -648,7 +648,7 @@ dependencies = [ "bitflags 2.13.0", "cexpr", "clang-sys", - "itertools 0.13.0", + "itertools 0.10.5", "log", "prettyplease", "proc-macro2", @@ -992,7 +992,7 @@ checksum = "af491d569909a7e4dee0ad7db7f5341fef5c614d5b8ec8cf765732aba3cff681" dependencies = [ "serde", "termcolor", - "unicode-width 0.2.2", + "unicode-width 0.1.14", ] [[package]] @@ -2664,15 +2664,6 @@ dependencies = [ "either", ] -[[package]] -name = "itertools" -version = "0.13.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" -dependencies = [ - "either", -] - [[package]] name = "itertools" version = "0.14.0" @@ -5641,7 +5632,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "32497e9a4c7b38532efcdebeef879707aa9f794296a4f0244f6f69e9bc8574bd" dependencies = [ "fastrand", - "getrandom 0.4.3", + "getrandom 0.3.4", "once_cell", "rustix 1.1.4", "windows-sys 0.61.2", @@ -6645,8 +6636,7 @@ dependencies = [ [[package]] name = "whisper-rs" version = "0.16.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2088172d00f936c348d6a72f488dc2660ab3f507263a195df308a3c2383229f6" +source = "git+https://github.com/wayvr-org/whisper-rs.git?rev=7baa50b3fc2da9c041c02f31314cc6ddbe271da4#7baa50b3fc2da9c041c02f31314cc6ddbe271da4" dependencies = [ "libc", "whisper-rs-sys", @@ -6655,8 +6645,7 @@ dependencies = [ [[package]] name = "whisper-rs-sys" version = "0.15.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6986c0fe081241d391f09b9a071fbcbb59720c3563628c3c829057cf69f2a56f" +source = "git+https://github.com/wayvr-org/whisper-rs.git?rev=7baa50b3fc2da9c041c02f31314cc6ddbe271da4#7baa50b3fc2da9c041c02f31314cc6ddbe271da4" dependencies = [ "bindgen", "cfg-if", diff --git a/wayvr/Cargo.toml b/wayvr/Cargo.toml index 25857c12..c2a238f8 100644 --- a/wayvr/Cargo.toml +++ b/wayvr/Cargo.toml @@ -107,7 +107,13 @@ smithay-clipboard = "0.7.3" sysinfo = { version = "0.39.6" } thiserror = "2.0.18" tracing = "0.1.44" -whisper-rs = { version = "0.16.0", features = ["vulkan"], optional = true } +whisper-rs = { + git = "https://github.com/wayvr-org/whisper-rs.git", + rev = "7baa50b3fc2da9c041c02f31314cc6ddbe271da4", + features = ["vulkan"], + optional = true +} +# whisper-rs = { version = "0.16.0", features = ["vulkan"], optional = true } xcb = { version = "1.7.0", features = [