4 releases (2 breaking)
Uses new Rust 2024
| 0.3.0 | Jan 25, 2026 |
|---|---|
| 0.2.0 | Mar 30, 2020 |
| 0.1.1 | Dec 4, 2016 |
| 0.1.0 | Dec 3, 2016 |
#103 in Video
547 downloads per month
Used in 3 crates
(2 directly)
27KB
674 lines
srtparse
A library for parsing SRT Subtitles.
Changelog
0.3.0 (25.01.2026)
- Switched to 2024 edition.
- Removed
Time::into_duration, useFrom/Intoinstead. - Use
impl AsRef<[u8]>infrom_str.
0.2.0 (30.03.2020)
- Switched to 2018 edition.
- Renamed
SubtitletoItem. - Changed type of subtitle's
start_timeandend_timetoTime. (You still able to convert it toDuration.) - Renamed
parsefunction tofrom_str. - Renamed
read_from_filefunction tofrom_file. - Added
from_readerfunction. - Removed
Resultalias. Errorstruct replaced by a bunch of different structs.
0.1.1 (04.12.2016)
- Fixed time parsing.
0.1.0 (03.12.2016)
- First release.
LICENSE
The MIT License (MIT)