diff --git a/Cargo.toml b/Cargo.toml index 45a487c..2eaea24 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -8,7 +8,11 @@ repository = "https://git.sulkta.com/Sulkta-OSS/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"] }