mirror of
https://github.com/v0l/m3u8-rs.git
synced 2025-06-22 19:18:07 +00:00
Fix confusing #[path] usage and re-exports in lib.rs
This has effectively the same behaviour now with fewer lines, less confusion and fewer compiler warnings about unused code.
This commit is contained in:
@ -1,7 +1,5 @@
|
|||||||
#[path = "playlist.rs"]
|
|
||||||
pub mod playlist;
|
pub mod playlist;
|
||||||
|
|
||||||
#[path = "parser.rs"]
|
|
||||||
#[cfg(feature = "parser")]
|
#[cfg(feature = "parser")]
|
||||||
mod parser;
|
mod parser;
|
||||||
|
|
||||||
|
@ -74,8 +74,6 @@
|
|||||||
//!
|
//!
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
pub mod playlist;
|
|
||||||
|
|
||||||
use nom::branch::alt;
|
use nom::branch::alt;
|
||||||
use nom::bytes::complete::{is_a, is_not, tag, take, take_until, take_while1};
|
use nom::bytes::complete::{is_a, is_not, tag, take, take_until, take_while1};
|
||||||
use nom::character::complete::{
|
use nom::character::complete::{
|
||||||
|
Reference in New Issue
Block a user