2 Repos
Annotating Rust functions and traits with export macros to expose them across FFI without a separate definition file.
Distinct from Rust User-Defined Functions: Distinct from Rust User-Defined Functions: focuses on FFI export macros, not SQL UDF execution.
Explore 2 awesome GitHub repositories matching development tools & productivity · FFI Export Macros. Refine with filters or upvote what's useful.
wasm-bindgen is a bindings generator and interop layer designed to map data types and functions across the boundary between WebAssembly and JavaScript. It functions as a foreign function interface that synthesizes the necessary boilerplate to enable bidirectional communication between Rust and the browser runtime. The project generates glue code and wrappers that automate the conversion of complex types, allowing Rust functions to be exported as JavaScript modules and browser APIs to be imported into Rust. It uses procedural macros to define these interfaces and synthesizes bindings based on
Uses procedural macros to annotate Rust functions and types for export to the JavaScript environment.
uniffi-rs is a Rust FFI binding generator and multi-language binding tool. It functions as an automated binding scaffolder that creates type-safe foreign function interfaces and native wrappers for Rust libraries in languages such as Swift, Kotlin, and Python. The project provides a system for cross-language interface definition, allowing functions and data structures to be specified in a shared format to ensure consistent API signatures across platforms. It further serves as an FFI memory management layer, handling object lifetimes and thread safety when sharing state between Rust and foreig
Annotates functions and traits with export macros to expose them across FFI without a separate definition file.