subx-cli 2.0.0

AI subtitle processing CLI tool, which automatically matches, renames, and converts subtitle files.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
name = "subx-cli"
version = "2.0.0"
authors = ["Jim Chen <Jim@ChenJ.im>"]
build = false
exclude = [
    "assets/",
    ".github/",
    "tests/",
    "target/",
    "*.mp4",
    "*.mp3",
    "*.mov",
    "*.avi",
    "*.mkv",
    "plans/",
    "scripts/test_*.sh",
    "benches/",
    "**/*.log",
    "**/*.tmp",
    "**/.DS_Store",
    "Cargo.lock",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "AI subtitle processing CLI tool, which automatically matches, renames, and converts subtitle files."
homepage = "https://github.com/jim60105/subx-cli"
readme = "README.md"
keywords = [
    "subtitle",
    "cli",
    "ai",
    "video",
]
categories = [
    "command-line-utilities",
    "multimedia",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/jim60105/subx-cli"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
archive-rar = ["subx-core/archive-rar"]
default = []
slow-tests = ["subx-core/slow-tests"]

[lib]
name = "subx_cli"
path = "src/lib.rs"

[[bin]]
name = "subx-cli"
path = "src/main.rs"

[dependencies.clap]
version = "4.5.40"
features = [
    "derive",
    "cargo",
]

[dependencies.clap_complete]
version = "4.5.54"

[dependencies.colored]
version = "3.0"

[dependencies.dirs]
version = "6.0"

[dependencies.env_logger]
version = "0.11"

[dependencies.indicatif]
version = "0.18"

[dependencies.log]
version = "0.4"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.serde_json]
version = "1.0"

[dependencies.subx-core]
version = "1.0"

[dependencies.tabled]
version = "0.20"

[dependencies.tokio]
version = "1.0"
features = [
    "rt-multi-thread",
    "macros",
    "time",
]

[dependencies.toml]
version = "1"

[dev-dependencies.anyhow]
version = "1.0"

[dev-dependencies.assert_cmd]
version = "2.0"

[dev-dependencies.async-trait]
version = "0.1"

[dev-dependencies.encoding_rs]
version = "0.8"

[dev-dependencies.flate2]
version = "1"

[dev-dependencies.predicates]
version = "3.0"

[dev-dependencies.regex]
version = "1.10"

[dev-dependencies.reqwest]
version = "0.13"
features = [
    "json",
    "stream",
    "rustls",
]

[dev-dependencies.sevenz-rust2]
version = "0.22.2"

[dev-dependencies.subx-core]
version = "1.0"
features = ["test-support"]

[dev-dependencies.tar]
version = "0.4"

[dev-dependencies.tempfile]
version = "3.10"

[dev-dependencies.tokio]
version = "1.0"
features = [
    "fs",
    "sync",
]

[dev-dependencies.uuid]
version = "1.3"
features = ["v7"]

[dev-dependencies.wiremock]
version = "0.6"

[dev-dependencies.zip]
version = "8"

[lints.clippy]
doc_markdown = "allow"
missing_docs_in_private_items = "allow"

[lints.rust]
missing_docs = "allow"

[lints.rustdoc]
bare_urls = "warn"
broken_intra_doc_links = "deny"
invalid_rust_codeblocks = "warn"
private_doc_tests = "warn"

[profile.dev]
opt-level = 0
debug = 2
split-debuginfo = "unpacked"

[profile.release]
opt-level = 3
lto = true
codegen-units = 1
panic = "abort"
strip = true