captionrs 0.1.0

Advanced subtitle converter and processor
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"
rust-version = "1.88"
name = "captionrs"
version = "0.1.0"
authors = ["bakgio"]
build = false
exclude = [
    ".github/**",
    "tests/**",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Advanced subtitle converter and processor"
readme = "README.md"
keywords = [
    "subtitles",
    "captions",
    "srt",
    "webvtt",
    "ttml",
]
categories = [
    "command-line-utilities",
    "parser-implementations",
    "text-processing",
    "multimedia",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/bakgio/captionrs"

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

[features]
async = [
    "dep:async-trait",
    "dep:tokio",
]
default = []

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

[[bin]]
name = "captionrs"
path = "src/main.rs"

[[example]]
name = "async_webvtt_to_srt"
path = "examples/async_webvtt_to_srt.rs"

[[example]]
name = "convert_from_memory"
path = "examples/convert_from_memory.rs"

[[example]]
name = "mend_srt"
path = "examples/mend_srt.rs"

[[example]]
name = "strip_sdh"
path = "examples/strip_sdh.rs"

[[example]]
name = "webvtt_pipeline"
path = "examples/webvtt_pipeline.rs"

[[example]]
name = "webvtt_to_srt"
path = "examples/webvtt_to_srt.rs"

[dependencies.async-trait]
version = "0.1.89"
optional = true

[dependencies.chrono]
version = "0.4.44"

[dependencies.clap]
version = "4.6.1"
features = ["derive"]

[dependencies.encoding_rs]
version = "0.8.35"

[dependencies.env_logger]
version = "0.11.10"

[dependencies.html-escape]
version = "0.2.13"

[dependencies.mp4forge]
version = "0.4.0"

[dependencies.regex]
version = "1.12.3"

[dependencies.roxmltree]
version = "0.21.1"

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

[dependencies.serde_json]
version = "1.0.149"

[dependencies.thiserror]
version = "2.0.18"

[dependencies.tokio]
version = "1.52.1"
features = [
    "fs",
    "io-util",
    "rt",
    "rt-multi-thread",
    "macros",
]
optional = true

[dependencies.unicode-normalization]
version = "0.1.25"

[dev-dependencies.futures]
version = "0.3.32"

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