#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

#258 in Video

Download history 34/week @ 2024-11-19 35/week @ 2024-11-26 45/week @ 2024-12-03 67/week @ 2024-12-10 40/week @ 2024-12-17 23/week @ 2024-12-24 32/week @ 2024-12-31 52/week @ 2025-01-07 34/week @ 2025-01-14 48/week @ 2025-01-21 88/week @ 2025-01-28 98/week @ 2025-02-04 91/week @ 2025-02-11 72/week @ 2025-02-18 82/week @ 2025-02-25 28/week @ 2025-03-04

282 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