uniffi-rs
uniffi-rs copied to clipboard
a multi-language bindings generator for rust
Right now the only way to pass the struct through uniffi with different fields is to create a "close but not quite" struct with the missing fields. Serde has lots...
I just wanted to point out a use case I have that is not well supported. Sometimes a function may, or may not require `async_runtime = "tokio"` depending what happens...
Shouldn't `--module-name` option be used for all "`canImport`" boilerplate when making a library mode multi-package bundle, a [megazord](https://github.com/mozilla/application-services/blob/main/docs/design/megazords.md) in Mozilla terms? In other words, the module name specified on the...
Consumers of my Rust code, in Kotlin and Swift, want to serialize several of our `#[uniffi::Record]` objects to a JSON string (in order to pass it through yet another layer...
#2081 and general user feedback seems to indicate: * UDL can be annoying/hard to hand-write * UDL is useful for readability (by humans or tools) * Proc macros are a...
The issue I'd like to address here is to make calling the generated C ABI from **Rust** easier. ## Context Currently, all uniffi bindings works by: * lowering from the...
The `error-types` fixture is currently failing for me because of a SIGBUS. I'm pretty sure I'm running into this issue: https://github.com/swiftlang/swift/issues/55963. I think Fedora recently upgraded to swift `6.0.1`, it...
We currently need these for a few reasons and I'm hoping to make them all obsolete. - To know which `UniffiTag` system to use. This won't be necessary after #1865....
While working on https://github.com/mozilla/uniffi-rs/pull/2265 I would like to use errors defined in external crates. Currently errors in UniFFI for kotlin are defined as with an `ErrorHandler` returning an instance of...
I'd like to be able to initialize and use Rust from multiple languages at the same time [in the same process]. Example use case: From React-Native Javascript, call into Rust...