subtp/
lib.rs

1//! # subtp
2//! A parser for subtitle files such as the SubRip Subtitle (.srt) and the WebVTT (.vtt).
3//!
4//! - [SubRip Subtitle (.srt)](`crate::srt::SubRip`)
5//! - [WebVTT (.vtt)](`crate::vtt::WebVtt`)
6
7// Re-exports.
8pub use error::ParseError;
9pub use result::ParseResult;
10
11// Public modules.
12pub mod srt;
13pub mod vtt;
14
15// Internal modules.
16mod error;
17mod result;
18mod str_parser;
19mod vtt_parser;