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

Mostly using `{ .. }`, `if let`, and `when Some with (x)` -> `when Some(x)` I did this really just to play with some of the features and pattern matching...

I am currently upgrading my project to Swift 6 and have solved a lot of the concurrency warnings with the `experimental_sendable_value_types = true` for values-types. I have a couple of...

I'm testing out uniffi for a project, and I'd like to expose a function that takes a list of strings to C#. The function signature is: ```rust pub fn take_names(names:...

I have a project called [cove](https://github.com/bitcoinppl/cove) that is using uniffi, I had it set up as a single crate and the build script calling `cargo run --bin uniffi-bindgen generate --library...

binding-swift

Similar to https://github.com/mozilla/uniffi-rs/issues/2274 but adding a few more from my project. This is all tested by setting `SWIFT_STRICT_CONCURRENCY = complete` in the project's build settings in XCode. Most of the...

binding-swift

Hi, I have a struct that simply holds a really fat field (struct) inside, clippy suggests to Box it, so that's what I do but then `uniffi::Record` cannot really infer...

This would be a convenient thing for users to `cargo install`. I suppose it should be in `uniffi` since that's where `uniffi/cli` code exists. This should come with a warning...

Semi-related to #1426, it would be great if UniFFI could generate Swift function/variable/argument/type names that conform to the “Follow case conventions” point in the [Swift API Design Guidelines](https://www.swift.org/documentation/api-design-guidelines/#conventions): > [Acronyms...

binding-swift

This is a bit of a stab in the dark attempt at supporting external errors in uniffi. It currently seems to behave well for swift but before I continue diving...

### Background The `uniffi_testing` allows users to test their bindings using the generic macro: ```rust uniffi::build_foreign_language_testcases!( "tests/bindings/test_docstring.kts", "tests/bindings/test_docstring.swift", "tests/bindings/test_docstring.py", ); ``` Under the hood, to do this, the `uniffi_testing` builds...