#srt #subtitle #subtitles

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

#6 in #subtitle

Download history 534/week @ 2022-06-13 724/week @ 2022-06-20 597/week @ 2022-06-27 655/week @ 2022-07-04 593/week @ 2022-07-11 483/week @ 2022-07-18 499/week @ 2022-07-25 404/week @ 2022-08-01 412/week @ 2022-08-08 373/week @ 2022-08-15 483/week @ 2022-08-22 677/week @ 2022-08-29 572/week @ 2022-09-05 738/week @ 2022-09-12 458/week @ 2022-09-19 450/week @ 2022-09-26

2,224 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