Skip to content

Commit f3dae0b

Browse files
committed
feat: ✨ move vulkan feature flag to windows-specific dependency for whisper-rs
1 parent 81ba6ca commit f3dae0b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src-tauri/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ name = "voicetypr_lib"
1515
crate-type = ["staticlib", "cdylib", "rlib"]
1616

1717
[features]
18-
default = ["whisper-rs/vulkan"]
18+
default = []
1919

2020
[build-dependencies]
2121
tauri-build = { version = "2", features = [] }
@@ -64,7 +64,7 @@ tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", branch = "v2"
6464
tauri-plugin-macos-permissions = "2"
6565

6666
[target.'cfg(target_os = "windows")'.dependencies]
67-
whisper-rs = { version = "0.14.3" }
67+
whisper-rs = { version = "0.14.3", features = ["vulkan"] }
6868
windows = { version = "0.51", features = [
6969
"Win32_Foundation",
7070
"Win32_UI_WindowsAndMessaging",

0 commit comments

Comments
 (0)