Files
steve 82181545a6 v0.2.3: Run without console window on Windows
- Add windows_subsystem = "windows" to prevent console window on double-click
- Use AttachConsole(ATTACH_PARENT_PROCESS) so CLI subcommands still work from a terminal
- Show MessageBoxW error dialog if daemon fails to start
- Remove hide_console() (now unnecessary)
- Fix unused import warning in ipc.rs (warn → tracing::warn! inline)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-15 05:46:53 +01:00

75 lines
1.4 KiB
TOML

[package]
name = "mouth"
version = "0.2.3"
edition = "2024"
description = "Offline speech-to-text with global hotkey and paste"
license-file = "LICENSE"
[dependencies]
# CLI
clap = { version = "4", features = ["derive"] }
# Config
serde = { version = "1", features = ["derive"] }
serde_yaml = "0.9"
dirs = "6"
# Interactive config TUI
dialoguer = "0.11"
# Logging
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
# Async
tokio = { version = "1", features = ["full"] }
# Global hotkey
rdev = { version = "0.5", features = ["unstable_grab"] }
# Audio capture
cpal = "0.15"
# Audio resampling
rubato = "0.16"
# ONNX inference (Parakeet v3 + Silero VAD)
ort = { version = "2.0.0-rc.12", features = ["download-binaries"] }
ndarray = "0.17"
# Model download from HuggingFace
hf-hub = "0.4"
indicatif = "0.17"
# Clipboard
arboard = "3"
# Keyboard simulation
enigo = { version = "0.3", features = ["serde"] }
# Overlay window
winit = "0.30"
softbuffer = "0.4"
# Audio feedback
rodio = "0.20"
# System info
num_cpus = "1"
# System tray
tray-icon = "0.19"
# IPC status
serde_json = "1"
# Error handling
anyhow = "1"
thiserror = "2"
[build-dependencies]
winresource = "0.1"
[target.'cfg(windows)'.dependencies]
windows-sys = { version = "0.59", features = ["Win32_System_Console", "Win32_UI_WindowsAndMessaging", "Win32_System_Pipes", "Win32_System_IO", "Win32_Storage_FileSystem", "Win32_Foundation", "Win32_Security"] }