#subtitle #srt #time-parser

srtparse

A library for parsing SRT Subtitles

3 unstable releases

0.2.0 Mar 30, 2020
0.1.1 Dec 4, 2016
0.1.0 Dec 3, 2016

#211 in Video

Download history 185/week @ 2024-07-19 186/week @ 2024-07-26 149/week @ 2024-08-02 207/week @ 2024-08-09 255/week @ 2024-08-16 183/week @ 2024-08-23 133/week @ 2024-08-30 147/week @ 2024-09-06 107/week @ 2024-09-13 131/week @ 2024-09-20 189/week @ 2024-09-27 201/week @ 2024-10-04 226/week @ 2024-10-11 231/week @ 2024-10-18 208/week @ 2024-10-25 38/week @ 2024-11-01

736 downloads per month
Used in 2 crates (via stork-lib)

MIT license

27KB
678 lines

srtparse

A library for parsing SRT Subtitles.

GitHub Workflow Status Downloads Documentation

Changelog

0.2.0 (30.03.2020)

  • Switched to 2018 edition.
  • Renamed Subtitle to Item.
  • Changed type of subtitle's start_time and end_time to Time. (You still able to convert it to Duration.)
  • Renamed parse function to from_str.
  • Renamed read_from_file function to from_file.
  • Added from_reader function.
  • Removed Result alias.
  • Error struct 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)

No runtime deps