subparse
is a Rust library that lets use load, change and store subtitle files in various formats (srt
, ssa
/ass
, idx
). Formatting and other data will be preserved.
You can find an example how to use this library under examples/example1.rs
.
Add this to your Cargo.toml
:
toml
[dependencies]
subparse = "~0.1.0"