Proc-macro for generating Rust FFI bindings from js2rust C ABI export metadata.
Usage
js2rust_bridge!
The macro transpiles JS to Zig inline, writes output to
.js2zig-cache/{group}/, and generates Rust FFI bindings.
The group name is derived from the file name (sanitized for Zig identifiers).
A minimal build.rs is only needed to link the compiled static library.