This commit is contained in:
Simon
2026-03-22 15:56:25 +00:00
parent 52f108da8e
commit fbe04fc752
12 changed files with 4960 additions and 26 deletions

View File

@@ -29,6 +29,11 @@ const PROVIDERS: &[ProviderDef] = &[
module: "pornhub",
ty: "PornhubProvider",
},
ProviderDef {
id: "pornhd3x",
module: "pornhd3x",
ty: "Pornhd3xProvider",
},
ProviderDef {
id: "spankbang",
module: "spankbang",
@@ -84,6 +89,11 @@ const PROVIDERS: &[ProviderDef] = &[
module: "yesporn",
ty: "YespornProvider",
},
ProviderDef {
id: "arabpornxxx",
module: "arabpornxxx",
ty: "ArabpornxxxProvider",
},
ProviderDef {
id: "sxyprn",
module: "sxyprn",
@@ -109,6 +119,11 @@ const PROVIDERS: &[ProviderDef] = &[
module: "porn4fans",
ty: "Porn4fansProvider",
},
ProviderDef {
id: "pornmz",
module: "pornmz",
ty: "PornmzProvider",
},
ProviderDef {
id: "porndish",
module: "porndish",
@@ -214,6 +229,11 @@ const PROVIDERS: &[ProviderDef] = &[
module: "hsex",
ty: "HsexProvider",
},
ProviderDef {
id: "sextb",
module: "sextb",
ty: "SextbProvider",
},
ProviderDef {
id: "hentaihaven",
module: "hentaihaven",
@@ -236,9 +256,7 @@ fn main() {
.map(|provider| format!("\"{}\"", provider.id))
.collect::<Vec<_>>()
.join(", ");
println!(
"cargo:rustc-check-cfg=cfg(hottub_provider, values({provider_cfg_values}))"
);
println!("cargo:rustc-check-cfg=cfg(hottub_provider, values({provider_cfg_values}))");
let selected = env::var("HOT_TUB_PROVIDER")
.or_else(|_| env::var("HOTTUB_PROVIDER"))