[package]
name = "crosssubtitle-ai"
version = "0.1.0"
edition = "2021"

[lib]
name = "crosssubtitle_ai_lib"
crate-type = ["staticlib", "cdylib", "rlib"]

[build-dependencies]
tauri-build = { version = "2.0.3", features = [] }

[dependencies]
anyhow = "1.0"
hound = "3.5"
ndarray = "0.17.2"
ort = { version = "2.0.0-rc.9", features = ["ndarray", "load-dynamic"] }
reqwest = { version = "0.12", default-features = false, features = ["json", "rustls-tls"] }
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
tauri = { version = "2.0.6", features = [] }
tauri-plugin-dialog = "2.4.2"
tempfile = "3.14"
thiserror = "2.0"
tokio = { version = "1.42", features = ["macros", "rt-multi-thread", "time"] }
uuid = { version = "1.11", features = ["serde", "v4"] }
walkdir = "2.5"
whisper-rs = "0.16"

[target.'cfg(target_os = "macos")'.dependencies]
objc2-app-kit = "0.3.2"
objc2-foundation = { version = "0.3.2", features = ["objc2-core-foundation"] }
