diff --git a/rust/strawcore/Cargo.toml b/rust/strawcore/Cargo.toml index 00d6ebc2f..f693973ee 100644 --- a/rust/strawcore/Cargo.toml +++ b/rust/strawcore/Cargo.toml @@ -26,6 +26,12 @@ tokio = { version = "1", features = ["rt-multi-thread", "macros", "sync"] } # (which has to stay `strawcore` so the .so name + Kotlin loadLibrary # call keep working). strawcore-core = { path = "../../../strawcore" } +# rquickjs-sys is pulled transitively by strawcore-core → rquickjs. The +# Android target has no pre-generated bindings — flip on the `bindgen` +# feature so cargo regenerates at build time. Direct dep so the feature +# flag propagates (cargo's unified feature resolver lifts this to the +# transitive use). Crafting-table has libclang preinstalled. +rquickjs-sys = { version = "0.11", default-features = false, features = ["bindgen"] } # Error glue. thiserror = "1" # Single-threaded init for the runtime + extractor singletons.