simplified dependency cargo.

This commit is contained in:
CJ Pais 2025-08-18 15:57:07 -07:00
parent bf35d88c03
commit e1773655e5

View file

@ -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"