[package]
name = "voicemode-ui"
version = "0.1.0"
edition = "2021"
description = "High-fidelity voice interface with lightsaber waveform visualization"
license = "MIT"
[dependencies]
# GUI
eframe = { version = "0.29", features = ["wgpu"] }
egui = "0.29"
egui_extras = { version = "0.29", features = ["image"] }
# Audio
cpal = "0.15"
rubato = "0.15" # Resampling
rustfft = "6.2" # FFT for visualization
# ONNX Runtime for VAD (using RC version, stable 2.0 not yet released)
ort = { version = "2.0.0-rc.11", features = ["cuda"] }
# IPC
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tokio = { version = "1.0", features = ["full"] }
interprocess = "2.2" # Named pipes / Unix sockets
# Utilities
anyhow = "1.0"
thiserror = "2.0"
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
base64 = "0.22"
parking_lot = "0.12"
crossbeam-channel = "0.5"
dirs = "5.0"
# Image loading for textures
image = { version = "0.25", default-features = false, features = ["png", "ico"] }
[build-dependencies]
# For shader compilation if needed
# naga = { version = "0.20", features = ["wgsl-in", "spv-out"] }
# Windows resource embedding (icon for taskbar)
[target.'cfg(windows)'.build-dependencies]
winres = "0.1"
[profile.release]
opt-level = 3
lto = "thin"
[profile.dev]
opt-level = 1 # Faster iteration
[[bin]]
name = "voicemode-ui"
path = "src/main.rs"