* fix: restore translate-to-english functionality The translate option broke when migrating from whisper-rs to transcribe-rs. This fix patches transcribe-rs to add translate parameter support and passes the translate_to_english setting to the Whisper engine. Additionally fixed AccessibilityPermissions API calls to match updated library. Translation only works with Whisper multilingual models (not .en models). Parakeet models don't support translation as they are transcription-only. Fixes #152 * bump transcribe rs --------- Co-authored-by: CJ Pais <cj@cjpais.com>
73 lines
2 KiB
TOML
73 lines
2 KiB
TOML
[package]
|
|
name = "handy"
|
|
version = "0.5.1"
|
|
description = "Handy"
|
|
authors = ["cjpais"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
default-run = "handy"
|
|
|
|
[profile.dev]
|
|
incremental = true # Compile your binary in smaller steps.
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
[lib]
|
|
# The `_lib` suffix may seem redundant but it is necessary
|
|
# to make the lib name unique and wouldn't conflict with the bin name.
|
|
# This seems to be only an issue on Windows, see https://github.com/rust-lang/cargo/issues/8519
|
|
name = "handy_app_lib"
|
|
crate-type = ["staticlib", "cdylib", "rlib"]
|
|
|
|
# [[bin]]
|
|
# name = "cli"
|
|
# path = "src/audio_toolkit/bin/cli.rs"
|
|
|
|
[build-dependencies]
|
|
tauri-build = { version = "2", features = [] }
|
|
|
|
[dependencies]
|
|
once_cell = "1"
|
|
tauri = { version = "2", features = [
|
|
"protocol-asset",
|
|
"macos-private-api",
|
|
"tray-icon",
|
|
'image-png',
|
|
] }
|
|
tauri-plugin-opener = "2"
|
|
serde = { version = "1", features = ["derive"] }
|
|
serde_json = "1"
|
|
tauri-plugin-clipboard-manager = "2.3.0"
|
|
tauri-plugin-macos-permissions = "2.0.4"
|
|
rdev = { git = "https://github.com/rustdesk-org/rdev" }
|
|
cpal = "0.16.0"
|
|
anyhow = "1.0.95"
|
|
rubato = "0.16.2"
|
|
hound = "3.5.1"
|
|
env_logger = "0.11.6"
|
|
log = "0.4.25"
|
|
tokio = "1.43.0"
|
|
vad-rs = { git = "https://github.com/cjpais/vad-rs", default-features = false }
|
|
tauri-plugin-store = "2"
|
|
tauri-plugin-os = "2"
|
|
enigo = "0.5.0"
|
|
tauri-plugin-process = "2"
|
|
rodio = { git = "https://github.com/cjpais/rodio.git" }
|
|
reqwest = { version = "0.11", features = ["json", "stream"] }
|
|
futures-util = "0.3"
|
|
tauri-plugin-fs = "2"
|
|
rustfft = "6.4.0"
|
|
strsim = "0.11.0"
|
|
natural = "0.5.0"
|
|
chrono = "0.4"
|
|
rusqlite = { version = "0.32", features = ["bundled"] }
|
|
tauri-plugin-sql = { version = "2", features = ["sqlite"] }
|
|
tar = "0.4.44"
|
|
flate2 = "1.0"
|
|
transcribe-rs = "0.1.1"
|
|
|
|
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
|
|
tauri-plugin-autostart = "2"
|
|
tauri-plugin-global-shortcut = "2"
|
|
tauri-plugin-single-instance = "2.3.2"
|
|
tauri-plugin-updater = "2"
|