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

`uniffi` generates scaffolding code that catches panics, and it converts those panics into errors in the consuming language. In Kotlin, that error is an exception called `InternalException`. We don't document...

When you uniffi an error enum, we create: - A top-level exception class corresponding to the enum - Nested exception classes for each variant - From what I can tell...

discuss

There's a new Askama release coming out soon, and it'll change some of the details of how the generated code does borrows, passes arguments etc. I think it'll be a...

All bindings define some internal helper methods on the records and classes they generate—things like `lift`, `lower`, `liftFrom`, `lowerInto`, `lowersToSize`, `toFFIValue`, and `fromFFIValue`—as well as internal types like `RustBufferStream`. What...

discuss

Followup from discussion in #2 There are a number of examples where mangling of names to fit foreign naming conventions may cause collisions. * [ ] Methods/functions. ``` namespace {...

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/UNIFFI-5) ┆Issue Number: UNIFFI-5

It's not urgent at all, since the consumer can create abstractions that hide certain functions but wanted to see what we think about this (Or if we just wanna say...

As noted in @tarikeshaq's review of #192. When calling a function over the FFI that accepts multiple rich-structure arguments such as records or sequences, the procedure goes something like this:...

Should this similarly poison the object on the python side, like we do in Kotlin? IIRC it is possible that someone might subclass one of these and extend `__del__` in...

[Kotlin][1], [Swift][2] and Python all have syntax for custom getters and setters. The syntax for computed properties is identical in swift and kotlin. ```kotlin var myProperty: T get() { }...

discuss