diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index a2180db..bd4678a 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"