2018-02-14 03:00:41 +00:00
|
|
|
//! [HLS] m3u8 parser/generator.
|
|
|
|
//!
|
|
|
|
//! [HLS]: https://tools.ietf.org/html/rfc8216
|
|
|
|
//!
|
|
|
|
//! # Examples
|
|
|
|
//!
|
|
|
|
//! TODO
|
|
|
|
#![warn(missing_docs)]
|
2018-02-14 04:48:43 +00:00
|
|
|
extern crate chrono;
|
2018-02-11 06:10:52 +00:00
|
|
|
#[macro_use]
|
|
|
|
extern crate trackable;
|
|
|
|
|
|
|
|
pub use error::{Error, ErrorKind};
|
2018-02-14 17:52:56 +00:00
|
|
|
pub use master_playlist::{MasterPlaylist, MasterPlaylistBuilder};
|
2018-02-14 19:18:02 +00:00
|
|
|
pub use media_playlist::{MediaPlaylist, MediaPlaylistBuilder};
|
2018-02-14 19:47:44 +00:00
|
|
|
pub use media_segment::{MediaSegment, MediaSegmentBuilder};
|
2018-02-11 06:10:52 +00:00
|
|
|
|
2018-02-14 19:51:44 +00:00
|
|
|
pub mod tags;
|
2018-02-14 03:16:36 +00:00
|
|
|
pub mod types;
|
2018-02-11 06:10:52 +00:00
|
|
|
|
2018-02-14 03:00:41 +00:00
|
|
|
mod attribute;
|
2018-02-11 06:10:52 +00:00
|
|
|
mod error;
|
2018-02-14 03:00:41 +00:00
|
|
|
mod line;
|
|
|
|
mod master_playlist;
|
|
|
|
mod media_playlist;
|
|
|
|
mod media_segment;
|
2018-02-11 06:10:52 +00:00
|
|
|
|
2018-02-14 03:00:41 +00:00
|
|
|
/// This crate specific `Result` type.
|
2018-02-11 06:10:52 +00:00
|
|
|
pub type Result<T> = std::result::Result<T, Error>;
|