[package] name = "dudu-desktop" version = "0.1.0" description = "dudu 语音输入法桌面端" edition = "2021" [lib] name = "dudu_desktop_lib" crate-type = ["staticlib", "cdylib", "rlib"] [build-dependencies] tauri-build = { version = "2", features = [] } [dependencies] tauri = { version = "2", features = ["macos-private-api", "tray-icon"] } tauri-plugin-global-shortcut = "2" serde = { version = "1", features = ["derive"] } serde_json = "1" tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync", "time"] } tokio-tungstenite = { version = "0.24", features = ["native-tls"] } futures-util = "0.3" cpal = "0.15" arboard = "3" enigo = "0.2" parking_lot = "0.12" uuid = { version = "1", features = ["v4"] } reqwest = { version = "0.12", features = ["json", "multipart", "rustls-tls"], default-features = false } base64 = "0.22" log = "0.4" env_logger = "0.11" # macOS:直接设置识别浮层 NSWindow 的集合行为(浮在全屏 App 之上)。 # 版本对齐 tao 依赖的 objc2 0.5.x,避免重复版本。 [target.'cfg(target_os = "macos")'.dependencies] objc2 = "0.5"