uniffi-rs icon indicating copy to clipboard operation
uniffi-rs copied to clipboard

a multi-language bindings generator for rust

Results 351 uniffi-rs issues
Sort by recently updated
recently updated
newest added

This changes the fixtures/callbacks library name so that it doesn't collide with examples/callbacks. It prevents `output filename collision` warnings when running `cargo build`

When working on #1344 I noticed an issue with our error handling: We can't reliably generate `read()` methods for flat errors because we don't know what fields their variants have....

This is a work-in-progress for handling exceptions in callback interfaces. It changes a few things: - The `Throws` attribute is now offecially supported on CallbackInterface methods, allowing callback interfaces to...

* :see_no_evil: `void?` compiles as valid UDL and results in invalid scaffolding error[E0277]: the trait bound `Option: FfiDefault` is not satisfied --> /Users/ssr/dev/wallet/core/target/debug/build/ffi-ff4da05d11cfa7c7/out/core.uniffi.rs:1004:9 | 1004 | uniffi::call_with_result(call_status, || { |...

With the new proc-macro code, we generate the `ComponentInterface` used to build the bindings from metadata stored in the library file. One issue here is if multiple crates that use...

We've discussed this for a while and it's looking like it's going to be a requirement for getting components into FF Desktop. Let's try to implement something similar to #1252....

We need to be able to errors in foreign language callback interfaces, and pass them back to Rust. The developer experience of this should be symmetrical with how errors are...

We should consider turning errors when running `rustfmt` on the scaffolding code into warnings. This would remove friction when `rustfmt` is not installed and it's how the we handle errors...