edith_codecs
Clone
https://git.tahinli.com/Tahinli/edith_codecs.git
0 watching0 forksRust370.3 MiBa5441e8Tahinli3 months ago1014 commits
| 1 | //! `oxideav-subtitle` as edith consumes it, over [`ec_subs`]. |
| 2 | //! |
| 3 | //! Three items and their types: `ir::plain_text`, `ir::SubtitleTrack`, |
| 4 | //! `srt::parse` and `webvtt::parse`. The IR is `ec_subs`'s own — the field |
| 5 | //! names were chosen to match, so this is a re-export and not a conversion — |
| 6 | //! and the only adapter is the error type, because the replica writes the parse |
| 7 | //! functions as `fn(&[u8]) -> oxideav_core::Result<SubtitleTrack>` and takes |
| 8 | //! their address. |
| 9 | |
| 10 | |
| 11 | |
| 12 | /// The cue IR, which is [`ec_subs::ir`] under its incumbent name. |
| 13 | |
| 14 | |
| 15 | |
| 16 | |
| 17 | |
| 18 | |
| 19 | |
| 20 | pub use ; |
| 21 | |
| 22 | /// SubRip. |
| 23 | |
| 24 | |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | |
| 30 | |
| 31 | |
| 32 | |
| 33 | |
| 34 | /// WebVTT. |
| 35 | |
| 36 | |
| 37 | |
| 38 | |
| 39 | |
| 40 | |
| 41 | |
| 42 | |
| 43 | |
| 44 | |
| 45 | |
| 46 | |
| 47 | |
| 48 | |
| 49 | |
| 50 | |
| 51 | |
| 52 | |
| 53 | |
| 54 | |
| 55 | |
| 56 | |
| 57 | |
| 58 | |
| 59 | |
| 60 | |
| 61 | |
| 62 | |
| 63 | |
| 64 |