#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

#190 in Video

Download history 120/week @ 2023-12-17 64/week @ 2023-12-24 65/week @ 2023-12-31 112/week @ 2024-01-07 188/week @ 2024-01-14 244/week @ 2024-01-21 102/week @ 2024-01-28 188/week @ 2024-02-04 99/week @ 2024-02-11 191/week @ 2024-02-18 350/week @ 2024-02-25 233/week @ 2024-03-03 134/week @ 2024-03-10 251/week @ 2024-03-17 192/week @ 2024-03-24 184/week @ 2024-03-31

773 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