rule34gen
This commit is contained in:
@@ -4,11 +4,7 @@ use rustc_hash::FxHashMap as HashMap;
|
||||
use std::sync::Arc;
|
||||
|
||||
use crate::{
|
||||
DbPool,
|
||||
api::ClientVersion,
|
||||
status::Channel,
|
||||
util::cache::VideoCache,
|
||||
videos::{ServerOptions, VideoItem},
|
||||
DbPool, api::ClientVersion, status::Channel, util::cache::VideoCache, videos::{ServerOptions, VideoItem}
|
||||
};
|
||||
|
||||
pub mod all;
|
||||
@@ -38,6 +34,7 @@ pub mod youjizz;
|
||||
pub mod beeg;
|
||||
pub mod tnaflix;
|
||||
pub mod pornxp;
|
||||
pub mod rule34gen;
|
||||
|
||||
// convenient alias
|
||||
pub type DynProvider = Arc<dyn Provider>;
|
||||
@@ -48,6 +45,7 @@ pub static ALL_PROVIDERS: Lazy<HashMap<&'static str, DynProvider>> = Lazy::new(|
|
||||
m.insert("beeg", Arc::new(beeg::BeegProvider::new()) as DynProvider);
|
||||
m.insert("tnaflix", Arc::new(tnaflix::TnaflixProvider::new()) as DynProvider);
|
||||
m.insert("pornxp", Arc::new(pornxp::PornxpProvider::new()) as DynProvider);
|
||||
m.insert("rule34gen", Arc::new(rule34gen::Rule34genProvider::new()) as DynProvider);
|
||||
// add more here as you migrate them
|
||||
m
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user