This commit is contained in:
Simon
2025-11-29 08:20:38 +00:00
parent ef57172fdd
commit 53ac33f856
2 changed files with 277 additions and 0 deletions

View File

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