This commit is contained in:
Simon
2025-11-14 09:39:29 +00:00
parent 35cd6a440f
commit 474a4b7f38
2 changed files with 279 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ pub mod beeg;
pub mod tnaflix;
pub mod pornxp;
pub mod rule34gen;
pub mod xxdbx;
// convenient alias
pub type DynProvider = Arc<dyn Provider>;
@@ -46,6 +47,7 @@ pub static ALL_PROVIDERS: Lazy<HashMap<&'static str, DynProvider>> = Lazy::new(|
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);
m.insert("xxdbx", Arc::new(xxdbx::XxdbxProvider::new()) as DynProvider);
// add more here as you migrate them
m
});