// The bindings: examples/rust/compose's module.json (a module directory; an atlibs.lock.json works too).
fn main() {
println!("cargo:rerun-if-changed=../rust/compose/module.json");
let code = atlibs_compose::codegen::generate(&["../rust/compose".as_ref()]).unwrap_or_else(|e| panic!("{e}"));
std::fs::write(std::path::Path::new(&std::env::var("OUT_DIR").unwrap()).join("modules.rs"), code).unwrap();
}