mirror of
https://github.com/rutgersc/m3u8-rs.git
synced 2024-12-21 22:26:26 +00:00
Re-export all types from the crate root and remove the playlist sub-module
There's not much else in this crate and having it behind another module decreases visibility.
This commit is contained in:
parent
3edf5d1c0f
commit
51fcb70113
4 changed files with 4 additions and 4 deletions
|
@ -1,4 +1,4 @@
|
||||||
use m3u8_rs::playlist::Playlist;
|
use m3u8_rs::Playlist;
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
use m3u8_rs::playlist::Playlist;
|
use m3u8_rs::Playlist;
|
||||||
use std::io::Read;
|
use std::io::Read;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
pub mod playlist;
|
mod playlist;
|
||||||
|
pub use playlist::*;
|
||||||
|
|
||||||
#[cfg(feature = "parser")]
|
#[cfg(feature = "parser")]
|
||||||
mod parser;
|
mod parser;
|
||||||
|
|
|
@ -1,6 +1,5 @@
|
||||||
#![allow(unused_variables, unused_imports, dead_code)]
|
#![allow(unused_variables, unused_imports, dead_code)]
|
||||||
|
|
||||||
use m3u8_rs::playlist::*;
|
|
||||||
use m3u8_rs::*;
|
use m3u8_rs::*;
|
||||||
use nom::AsBytes;
|
use nom::AsBytes;
|
||||||
use std::collections::HashMap;
|
use std::collections::HashMap;
|
||||||
|
|
Loading…
Reference in a new issue