diff --git a/Cargo.toml b/Cargo.toml index 477bf40..c220572 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,11 @@ repository = "http://192.168.0.5:3001/Sulkta-Coop/strawcore" description = "Rust port of NewPipeExtractor (YT-only). Plugs into Straw via UniFFI." [lib] -crate-type = ["rlib", "cdylib", "staticlib"] +# rlib only — strawcore-core is consumed as a Rust library, NOT loaded +# directly by Android. The Straw wrapper crate is the cdylib + the +# .so Android calls System.loadLibrary("strawcore") for. Emitting a +# cdylib here too just bloats jniLibs by ~300 KB per ABI. +crate-type = ["rlib"] [dependencies] reqwest = { version = "0.12", default-features = false, features = ["rustls-tls-webpki-roots", "blocking", "gzip"] }