consider the traits parser instead
This commit is contained in:
		@@ -1,7 +1,7 @@
 | 
				
			|||||||
#[allow(unused_imports)]
 | 
					#[allow(unused_imports)]
 | 
				
			||||||
use crate::GetM3u8;
 | 
					use crate::GetM3u8;
 | 
				
			||||||
use crate::{
 | 
					use crate::{
 | 
				
			||||||
    getm3u8::{Parser, WatchedFind},
 | 
					    parser::{Parser, WatchedFind},
 | 
				
			||||||
    Configuration, OfflineParser, OnlineParser, Playlist, MAX_TRIES,
 | 
					    Configuration, OfflineParser, OnlineParser, Playlist, MAX_TRIES,
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
use std::fs;
 | 
					use std::fs;
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,6 @@
 | 
				
			|||||||
mod config;
 | 
					mod config;
 | 
				
			||||||
mod downloader;
 | 
					mod downloader;
 | 
				
			||||||
pub mod getm3u8;
 | 
					pub mod parser;
 | 
				
			||||||
mod grandmother;
 | 
					mod grandmother;
 | 
				
			||||||
mod m3u8;
 | 
					mod m3u8;
 | 
				
			||||||
mod offlineparser;
 | 
					mod offlineparser;
 | 
				
			||||||
@@ -13,7 +13,7 @@ use std::io::{stdin, stdout, Stdin, StdoutLock, Write};
 | 
				
			|||||||
use async_recursion::async_recursion;
 | 
					use async_recursion::async_recursion;
 | 
				
			||||||
pub use config::Configuration;
 | 
					pub use config::Configuration;
 | 
				
			||||||
pub use downloader::download_with_progress;
 | 
					pub use downloader::download_with_progress;
 | 
				
			||||||
pub use getm3u8::{GetM3u8, GetPlayPath, WatchedFind};
 | 
					pub use parser::{GetM3u8, GetPlayPath, WatchedFind};
 | 
				
			||||||
pub use grandmother::GrandMother;
 | 
					pub use grandmother::GrandMother;
 | 
				
			||||||
pub use m3u8::{M3u8, OfflineEntry};
 | 
					pub use m3u8::{M3u8, OfflineEntry};
 | 
				
			||||||
pub use offlineparser::OfflineParser;
 | 
					pub use offlineparser::OfflineParser;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user