uniffi-rs
uniffi-rs copied to clipboard
a multi-language bindings generator for rust
Env: nightly-aarch64-apple-darwin - Up to date : 1.80.0-nightly (867900499 2024-05-23) uniffi 0.27.2 The following works ``` /// Example namespace example { /// Hello Rust string hello_world(); }; /// Example Enum...
From the release 0.26.0, Java 8 seems to be not working for non-android systems (can't tell about those since I'm mostly a enterprise developer). Java 8 is still one of...
uniffi = "0.27.0" Problem: `cfg(feature = )` and `uniffi::export` macros don't get along context: I'm working on this FROST signatures wrapper with uniffi. https://github.com/pacu/frost-mobile-sdk I can build the FROST dependency...
We currently support remote records and enums, but we don't support remote interface types. https://github.com/mozilla/uniffi-rs/pull/2087 starts that support since it allows the interface types to be used in function signatures,...
UDL2
The current UDL syntax is awkward in some cases, and the UDL parser is straight up hostile towards the user. The goal of this post isn't to provide a final...
 I have a problem where intermittently my code panics. I need to know *where* it panics. It's executing a non-trivial amount of code, and it's not trivial to figure...
The idea here is to generate safe, ergonomic, bindings from the UDL for a Rust consumer module (like Swift, Kotlin, Python, Ruby). That module then invokes the methods through FFI...
Tested with uniffi v0.26.1. When using custom types declared in another crate, the generated uniffi binding code does not generate the correct function signature for the bindings. This may be...
Tested on uniffi v0.26.1 with proc macros The issues below can be reproduced by having a target library (final product) which uses external types exported in by dependent crates. ###...
I am in the process of vendoring UniFFI in AOSP, which means that I have to make it play nice with the existing crates found here: https://cs.android.com/android/platform/superproject/+/main:external/rust/crates/ Android tries to...