Registry / build-tool / uniffi

uniffi

JSON →
library0.31.1rscratesunverified

A multi-language bindings generator for Rust.

# Cargo.toml [dependencies] uniffi = "0.31.1"
INSTALL
IMPORT
SIG · UNIFFI
U
uniffi
build-toolrustv0.31.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ffi_converter_rust_buffer
✓ use uniffi::ffi_converter_rust_buffer;

Generates FFI bindings for a Rust type.

use uniffi::ffi_converter_rust_buffer; // This macro is used internally; typically you define an interface via UDL. // Example: uniffi::ffi_converter_rust_buffer!(MyType);
Debug
Known issues
gotchaRequires a UDL file or proc macros for interface definition.
fix
Create a .udl file or use #[uniffi::export] attribute.
affects: >=0.20.0
Upgrade
Version history
0.31.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
32 hits · last 30 days
node
29
OpenAI (training)
1
Resources
uniffi — cargo add uniffi · libregistry