1
0
Fork 0
mirror of https://github.com/sile/hls_m3u8.git synced 2024-06-03 05:59:22 +00:00
hls_m3u8/src/lib.rs

33 lines
715 B
Rust
Raw Normal View History

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-11 06:10:52 +00:00
2018-02-14 03:00:41 +00:00
pub mod segment {
//! Media segment.
pub use super::media_segment::{MediaSegment, MediaSegmentBuilder};
}
2018-02-14 03:16:36 +00:00
pub mod tag; // TODO: s/tag/tags/
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>;