@@ -58,7 +58,10 @@ tracing-appender = "0.2"
5858# CLI and utilities
5959clap = { version = " 4.5" , features = [" derive" ] }
6060directories = " 5.0" # Professional cross-platform directory discovery
61- chrono = " 0.4"
61+ chrono = { version = " 0.4" , features = [" serde" ] }
62+ uuid = { version = " 1.11" , features = [" v4" , " serde" ] }
63+ walkdir = " 2.5"
64+ regex = " 1.11"
6265
6366# HTTP client for model downloads
6467reqwest = { version = " 0.12" , features = [
@@ -83,34 +86,37 @@ sysinfo = "0.33"
8386# Platform integration
8487handy-keys = " 0.2.1" # Cross-platform global keyboard shortcuts
8588enigo = " 0.6" # Keyboard/mouse simulation for text injection
89+ llama-cpp-2 = { version = " 0.1.138" , default-features = false , optional = true }
8690
8791# Unix-specific dependencies
8892[target .'cfg(unix)' .dependencies ]
8993libc = " 0.2"
9094
9195[features ]
92- default = [" whisper-cpp" , " onnx" , " overlay-indicator" ]
96+ default = [" whisper-cpp" , " onnx" , " llama-cpp " , " overlay-indicator" ]
9397
94- # Model backends
98+ # Model backends (all default now)
9599whisper-cpp = [" whisper-rs" ]
96100onnx = [" ort" , " ort-sys" , " ndarray" ]
97101candle = [" candle-core" , " candle-nn" , " candle-transformers" ]
102+ llama-cpp = [" llama-cpp-2" ]
98103
99- # GPU acceleration backends (automatically enabled on macOS by default )
100- metal = [" whisper-rs/metal" ] # macOS GPU acceleration (M1/M2/M3/M4)
101- cuda = [" whisper-rs/cuda" ] # NVIDIA GPU acceleration
104+ # GPU acceleration backends (optional - use --features metal or --features cuda )
105+ metal = [" whisper-rs/metal" , " llama-cpp-2?/metal " ] # macOS GPU acceleration (M1/M2/M3/M4)
106+ cuda = [" whisper-rs/cuda" , " llama-cpp-2?/cuda " ] # NVIDIA GPU acceleration
102107vulkan = [" whisper-rs/vulkan" ] # Cross-platform GPU (AMD, Intel, etc)
103- openblas = [" whisper-rs/openblas" ] # CPU optimization
108+ openblas = [" whisper-rs/openblas" , " llama-cpp-2?/openmp " ] # CPU optimization
104109
105110# VAD backends
106111webrtc-vad = []
107112cargo-clippy = []
108113
109- # Features
114+ # UI features
110115tui = [" ratatui" , " crossterm" ]
111116gpu = []
112117overlay-indicator = [" eframe" , " winit" ]
113118
119+
114120[target .'cfg(target_os = "macos")' .dependencies ]
115121core-graphics = " 0.23"
116122core-foundation = " 0.9"
@@ -146,7 +152,7 @@ features = ["copy-dylibs"] # Copy ONNX Runtime binaries to target directory
146152version = " 2.0.0-rc.11"
147153optional = true
148154default-features = false
149- features = [" download-binaries" , " tls-rustls" ] # Download and use rustls for TLS
155+ features = [" download-binaries" , " tls-rustls" , " coreml " ] # Added coreml for macOS GPU acceleration
150156
151157[dependencies .ndarray ]
152158version = " 0.16"
0 commit comments