consider the traits parser instead

This commit is contained in:
Love 2023-03-05 20:02:26 +01:00
parent 0d903f80ff
commit 6da49ec983
No known key found for this signature in database
GPG Key ID: A3C10DC241C8FA9F
3 changed files with 3 additions and 3 deletions

View File

@ -1,7 +1,7 @@
#[allow(unused_imports)]
use crate::GetM3u8;
use crate::{
getm3u8::{Parser, WatchedFind},
parser::{Parser, WatchedFind},
Configuration, OfflineParser, OnlineParser, Playlist, MAX_TRIES,
};
use std::fs;

View File

@ -1,6 +1,6 @@
mod config;
mod downloader;
pub mod getm3u8;
pub mod parser;
mod grandmother;
mod m3u8;
mod offlineparser;
@ -13,7 +13,7 @@ use std::io::{stdin, stdout, Stdin, StdoutLock, Write};
use async_recursion::async_recursion;
pub use config::Configuration;
pub use downloader::download_with_progress;
pub use getm3u8::{GetM3u8, GetPlayPath, WatchedFind};
pub use parser::{GetM3u8, GetPlayPath, WatchedFind};
pub use grandmother::GrandMother;
pub use m3u8::{M3u8, OfflineEntry};
pub use offlineparser::OfflineParser;