Registry / build-tool / uniffi-bindgen

uniffi-bindgen

JSON →
library0.31.0rscratesunverified

A multi-language bindings generator for Rust (codegen and CLI tooling).

# Cargo.toml [dependencies] uniffi_bindgen = "0.31.0"
INSTALL
IMPORT
SIG · UNIFFI-BINDGEN
U
uniffi-bindgen
build-toolrustv0.31.0
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.

generate_bindings
use uniffi_bindgen::generate_bindings;

Generate Kotlin bindings from a UDL file.

use uniffi_bindgen::generate_bindings; fn main() { generate_bindings("src/my_lib.udl", None, "kotlin", None).unwrap(); }
Debug
Known issues
gotchaRequires the 'bindgen' feature for code generation.
fix
Add `features = ["bindgen"]` to your Cargo.toml dependency.
affects: >=0.31.0
Upgrade
Version history
0.31.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
OpenAI (training)
1
Resources