srtparse 0.3.0

A library for parsing SRT Subtitles
Documentation
  • Coverage
  • 100%
    41 out of 41 items documented1 out of 1 items with examples
  • Size
  • Source code size: 32.22 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.38 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 13s Average build duration of successful builds.
  • all releases: 10s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • Homepage
  • rossnomann/srtparse
    6 3 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • rossnomann

srtparse

A library for parsing SRT Subtitles.

GitHub CI Status Downloads Documentation

Changelog

0.3.0 (25.01.2026)

  • Switched to 2024 edition.
  • Removed Time::into_duration, use From/Into instead.
  • Use impl AsRef<[u8]> in from_str.

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)