| Crates.io | srtparse |
| lib.rs | srtparse |
| version | 0.3.0 |
| created_at | 2016-12-03 15:38:43.971185+00 |
| updated_at | 2026-01-25 21:41:18.819194+00 |
| description | A library for parsing SRT Subtitles |
| homepage | https://docs.rs/srtparse |
| repository | https://github.com/rossnomann/srtparse |
| max_upload_size | |
| id | 7453 |
| size | 32,229 |
A library for parsing SRT Subtitles.
Time::into_duration, use From/Into instead.impl AsRef<[u8]> in from_str.Subtitle to Item.start_time and end_time to Time.
(You still able to convert it to Duration.)parse function to from_str.read_from_file function to from_file.from_reader function.Result alias.Error struct replaced by a bunch of different structs.The MIT License (MIT)