generated from nhcarrigan/template
feat: we successfully have the installer working for windows!
Models are downloaded at runtime instead of build.
This commit is contained in:
+29
-1
@@ -18,11 +18,35 @@ crate-type = ["staticlib", "cdylib", "rlib"]
|
||||
tauri-build = { version = "2", features = [] }
|
||||
|
||||
[dependencies]
|
||||
tauri = { version = "2", features = [] }
|
||||
tauri = { version = "2", features = ["custom-protocol"] }
|
||||
tauri-plugin-opener = "2"
|
||||
serde = { version = "1", features = ["derive"] }
|
||||
serde_json = "1"
|
||||
|
||||
# ML libraries for transcription and summarization
|
||||
whisper-rs = "0.14"
|
||||
llama-cpp-2 = "0.1"
|
||||
|
||||
# Audio capture and processing
|
||||
cpal = "0.15"
|
||||
hound = "3.5" # WAV file handling
|
||||
|
||||
# Voice activity detection
|
||||
voice_activity_detector = "0.2"
|
||||
|
||||
# Async runtime
|
||||
tokio = { version = "1", features = ["full"] }
|
||||
|
||||
# Utilities
|
||||
parking_lot = "0.12" # Better mutexes
|
||||
thiserror = "2" # Error handling
|
||||
tracing = "0.1" # Logging
|
||||
tracing-subscriber = "0.3"
|
||||
|
||||
# HTTP client for model downloads
|
||||
reqwest = { version = "0.12", features = ["stream", "rustls-tls"], default-features = false }
|
||||
futures-util = "0.3" # For StreamExt
|
||||
|
||||
[target.'cfg(windows)'.dependencies]
|
||||
windows = { version = "0.62", features = [
|
||||
"Win32_System_Com",
|
||||
@@ -32,3 +56,7 @@ windows = { version = "0.62", features = [
|
||||
"Win32_System_Threading",
|
||||
] }
|
||||
|
||||
[patch.crates-io]
|
||||
# Fix cross-compilation: use CARGO_CFG_TARGET_OS instead of cfg!(windows)
|
||||
llama-cpp-sys-2 = { path = "../patches/llama-cpp-sys-2" }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user