uniffi-rs
uniffi-rs copied to clipboard
a multi-language bindings generator for rust
Hello, When a custom error has a field named message, the generating Kotlin code gives a compilation error. This error arises due to a naming conflict between the custom field...
Whenever we land #2045 (or other PR enabling `Sendable` types) we should try to ensure that UniFFI generated Swift code compiles (and works...) under "Swift 6" mode, that is with...
Hi all, I'm using UniFFI with [mls-rs](https://github.com/awslabs/mls-rs) and it's working well. The results so far can be seen in [mls-rs-uniffi](https://github.com/awslabs/mls-rs/tree/main/mls-rs-uniffi). When generating Kotlin bindings, I notice a lot of helper...
It's often useful to interoperate with C libraries that may return enum values; in this case you do not necessarily have a guarantee that the returned value is a valid...
Despite adding some API version checks in #1997, I'm still getting an API version lint error: ``` Error: Call requires API level 33 (current min is 24): java.lang.ref.Cleaner#create [NewApi] val...
Addresses #2224 - even disabled logging can have overhead depending with some backends, and in very high frequency calls, generates unacceptable overhead and log-spam. Those tests that can run without...
Recently, me and another `askama` maintainer forked the project into `rinja`. For more details about the why, I wrote a blog post [here](https://blog.guillaume-gomez.fr/articles/2024-07-31+docs.rs+switching+jinja+template+framework+from+tera+to+rinja). But in short: `rinja` is ahead of...
I have a networking crate that depends on a `crate_error_codes` crate and uses [cargo swift](https://github.com/antoniusnaumann/cargo-swift) to generate the swift package of the networking crate. I got an error while generating...
### The Problem I am using uniffi with some code that does DSP - called from C, Objective C and Swift, and using the [os_log crate](https://github.com/steven-joruk/oslog) to integrate the `log`...
I'm migrating from macros to UDL to decrease build time. Is there any way to specify async runtime for an asynchronous function that has its definition in UDL marked with...