#hls #m3u8

hls_m3u8

HLS m3u8 parser/generator

7 releases

✓ Uses Rust 2018 edition

0.2.1 Sep 9, 2019
0.2.0 Aug 15, 2019
0.1.4 Jun 15, 2019
0.1.3 Oct 10, 2018
0.1.1 Feb 23, 2018
Download history 6/week @ 2019-10-07 28/week @ 2019-10-14 33/week @ 2019-10-21 12/week @ 2019-10-28 13/week @ 2019-11-04 14/week @ 2019-11-11 23/week @ 2019-11-18 29/week @ 2019-11-25 52/week @ 2019-12-02 44/week @ 2019-12-09 12/week @ 2019-12-16 29/week @ 2019-12-23 64/week @ 2019-12-30 110/week @ 2020-01-06 168/week @ 2020-01-13

99 downloads per month
Used in 4 crates (3 directly)

MIT/Apache

165KB
4K SLoC

hls_m3u8

Crates.io: hls_m3u8 Documentation Build Status Code Coverage License: Apache OR License: MIT

HLS m3u8 parser/generator.

Documentation

Examples

use hls_m3u8::MediaPlaylist;

let m3u8 = "#EXTM3U
#EXT-X-TARGETDURATION:10
#EXT-X-VERSION:3
#EXTINF:9.009,
http://media.example.com/first.ts
#EXTINF:9.009,
http://media.example.com/second.ts
#EXTINF:3.003,
http://media.example.com/third.ts
#EXT-X-ENDLIST";

assert!(m3u8.parse::<MediaPlaylist>().is_ok());

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Dependencies

~1MB
~28K SLoC