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

Is it possible to not have one function log every time its called? I have a very simple function ```rust #[uniffi::export] pub fn pod_restart_count(pod: Pod) -> i32 { pod.total_restart_count() }...

good first issue

I am going to reuse my template for the tutorial.

I'm not entirely sure whether this is meant to be supported or not. If this is indeed a valid use case, then [a similliar issue in uniffi-bindgen-go](https://github.com/NordSecurity/uniffi-bindgen-go/issues/36) will also have...

If you define an external type, but don't use it in an exporting function/method, then we don't actually import the type in the bindings. Here's a branch that contains a...

With the current type alias implementation, the generated bindings contain transparent type aliases, i.e. new type is not created, its a different name for the underlying type, the alias and...

Every field of records, associated enums and associated errors can have an attached docstring (at least using proc-macros). Currently they are rendered like this: ```kt /** * */ data class...

Mostly works except a few tests which need minor adjustments.

Works perfectly - until we get to custom types :( ``` error[E0117]: only traits defined in the current crate can be implemented for types defined outside of the crate -->...

This PR contains the parts of #1808 that I think are most beneficial and least controversial: - **Consolidate the handle code.** Use one `FfiType` variant for all handles. Implement one...

Proc-macro and UDL-based generation disagree on how to handle functions returning errors. UDL-based generation adds a `.map_err(Into::into)` call, which allows the exported function to return any error that maps into...

proc-macro-udl-inconsistency