Re-exports§
pub use model::SubtitleFormat;pub use model::Format;pub use model::ParseConfig;pub use model::StreamingParser;pub use model::Subtitle;pub use model::SubtitleFile;pub use model::SubtitleFileBuilder;pub use model::TextPart;pub use model::WritePolicy;
Modules§
- ass
- config
- encoding
- error
- Typed errors for subtitle parsing.
- lrc
- LRC (Lyrics) format parser and generator.
- microdvd
- model
- normalize
- quality
- Quality analysis and translation tooling for subtitles.
- sbv
- SBV (YouTube subtitle format) parser and generator.
- srt
- subviewer
- ttml
- TTML (Timed Text Markup Language) subtitle parser and generator.
- types
- utils
- vtt
Functions§
- detect_
format - parse_
bytes - Parse bytes into a
SubtitleFile, auto-detecting the format. - parse_
bytes_ as - Parse bytes as a specific format.
- parse_
file - Parse a file into a
SubtitleFile, auto-detecting the format. - parse_
url - Parse a URL into a
SubtitleFile, auto-detecting the format (requires thehttpfeature). - parse_
url_ with - Parse a URL with a custom
reqwest::Client, allowing configuration of timeouts, redirect policy, TLS options, etc.