[package]
edition = "2024"
name = "ttml_processor"
version = "0.2.2"
authors = ["apoint123 <vpnzaph@outlook.com>"]
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A Rust library for parsing and generating TTML lyrics files, specifically designed for Apple Music and AMLL formats."
homepage = "https://github.com/apoint123/Unilyric"
readme = "README.md"
keywords = [
"ttml",
"lyrics",
"parser",
"generator",
"xml",
]
categories = [
"multimedia::audio",
"parsing",
"text-processing",
]
license = "MIT"
repository = "https://github.com/apoint123/Unilyric"
[lib]
name = "ttml_processor"
path = "src/lib.rs"
[[example]]
name = "roundtrip"
path = "examples/roundtrip.rs"
[[test]]
name = "ttml_generation_integration_tests"
path = "tests/ttml_generation_integration_tests.rs"
[[test]]
name = "ttml_parser_integration_tests"
path = "tests/ttml_parser_integration_tests.rs"
[[bench]]
name = "ttml_parser_benchmark"
path = "benches/ttml_parser_benchmark.rs"
harness = false
[dependencies.lyrics_helper_core]
version = "0.2"
[dependencies.quick-xml]
version = "0.38"
features = ["serialize"]
[dependencies.tracing]
version = "0.1"
[dev-dependencies.criterion]
version = "0.7.0"
[dev-dependencies.insta]
version = "1.43"
features = ["yaml"]
[lints.clippy]
map_unwrap_or = "warn"
nursery = "warn"
pedantic = "warn"
redundant_closure_for_method_calls = "warn"
single_match_else = "warn"