Skip to content

armgit / Handy

Public Imported from GitHub
0

A free, open source, and extensible speech-to-text application that works completely offline.

simplified dependency cargo.

CJ Paise1773655e5db
diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml
index a2180dba..bd4678a1 100644
--- a/src-tauri/Cargo.toml
+++ b/src-tauri/Cargo.toml
@@ -40,7 +40,6 @@ tauri-plugin-clipboard-manager = "2"
tauri-plugin-macos-permissions = "2.0.4"
rdev = { git = "https://github.com/rustdesk-org/rdev" }
cpal = "0.16.0"
-whisper-rs = { version = "0.14.4", features = ["log_backend"] }
anyhow = "1.0.95"
rubato = "0.16.2"
hound = "3.5.1"
@@ -64,13 +63,13 @@ natural = "0.5.0"
version = "=2.0.0-rc.9"
[target.'cfg(target_os = "macos")'.dependencies]
-whisper-rs = { version = "0.14.4", features = ["metal"] }
+whisper-rs = { version = "0.14.4", features = ["metal", "log_backend"] }
[target.'cfg(target_os = "windows")'.dependencies]
-whisper-rs = { version = "0.14.4", features = ["vulkan"] }
+whisper-rs = { version = "0.14.4", features = ["vulkan", "log_backend"] }
[target.'cfg(target_os = "linux")'.dependencies]
-whisper-rs = { version = "0.14.4", features = ["vulkan"] }
+whisper-rs = { version = "0.14.4", features = ["vulkan", "log_backend"] }
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-autostart = "2"