Skip to main content

js2rust_bridge

Macro js2rust_bridge 

Source
js2rust_bridge!() { /* proc-macro */ }
Expand description

Function-like proc-macro: js2rust_bridge!().

Reads js2rust.toml from the crate root, transpiles JS to Zig, and generates Rust FFI bindings. Zero-argument — all configuration lives in the TOML file.