[package]
name = "subx-cli"
version = "0.2.0"
edition = "2024"
authors = ["CHEN, CHUN <jim60105@gmail.com>"]
description = "智慧字幕處理 CLI 工具,使用 AI 技術自動匹配、重命名和處理字幕檔案"
license = "GPL-3.0-or-later"
repository = "https://github.com/jim60105/subx-cli"
homepage = "https://github.com/jim60105/subx-cli"
keywords = ["subtitle", "cli", "ai", "video"]
categories = ["command-line-utilities", "multimedia"]
[dependencies]
clap = { version = "4.5", features = ["derive", "cargo"] }
clap_complete = "4.5"
regex = "1.0"
encoding_rs = "0.8"
tokio = { version = "1.0", features = ["full"] }
anyhow = "1.0"
thiserror = "2.0"
serde = { version = "1.0", features = ["derive"] }
serde_json = "1.0"
toml = "0.8"
reqwest = { version = "0.12", features = ["json", "rustls-tls"] }
walkdir = "2.3"
url = "2"
notify = "8.0"
futures = "0.3"
async-trait = "0.1"
uuid = { version = "1.3", features = ["v4"] }
log = "0.4"
env_logger = "0.11"
colored = "3.0"
tabled = "0.20"
indicatif = "0.17"
dialoguer = "0.11"
md5 = "0.7"
symphonia = { version = "0.5", features = ["all"] }
aus = "0.1.8"
dirs = "6.0"
num_cpus = "1.0"
[dev-dependencies]
tokio-test = "0.4"
assert_cmd = "2.0"
predicates = "3.0"
tempfile = "3.10"
mockall = "0.13"
serial_test = "3.0"
rstest = "0.25"
test-case = "3.0"
wiremock = "0.6"
[[bin]]
name = "subx-cli"
path = "src/main.rs"
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true
[profile.dev]
opt-level = 0
debug = true
split-debuginfo = "unpacked"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3", features = ["winuser"] }
[target.'cfg(unix)'.dependencies]
libc = "0.2"