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

Three failed test runs in unrelated PRs: - [Kotlin](https://app.circleci.com/pipelines/github/mozilla/uniffi-rs/2906/workflows/eccdbbb2-63f8-4bda-aeaf-fec5d02f471a/jobs/11685): timeout - [Python](https://app.circleci.com/pipelines/github/mozilla/uniffi-rs/2906/workflows/4213abe8-25dd-4950-887c-5a3b32c9acbb/jobs/11678): "FATAL: exception not rethrown" - [Swift](https://app.circleci.com/pipelines/github/mozilla/uniffi-rs/2865/workflows/5b366557-6d99-4a77-bedf-903e099fd44a/jobs/11502): #1536 ┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/UNIFFI-268) ┆Issue Number: UNIFFI-268

uniffi

Hi, UPDATE: I now think the problem is a race condition. More details are provided in the comments below. I am getting the following exception thrown in Kotlin uniffi bindings....

uniffi

In the documentation about callback interfaces, it says that uniffi enables that the rust traits used for callback interfaces can require `Send` and `Sync` but that this cannot be enforced...

I have a struct with `Vec` fields which is exported with `#[derivce(uniffi::Record)]` as well as exported methods which receive `Vec`. In Kotlin these get rendered as `List`, as if they...

We should allow functions, types, and other objects to be renamed in the bindings config, overriding the generated names. One use case for this is Swift, which doesn't support namespaces....

As mentioned in issue #1623 , by using the `cargo-xcode` crate, Rust crates can be quickly compiled into static (or dynamic) libraries. Then, by wrapping the generated code with UniFFI...

The [udl file introduction](https://mozilla.github.io/uniffi-rs/tutorial/udl_file.html) comes before the guidance on how to hook it up to the build. This is not a huge problem by itself, but the sentence ``` Note:...

**PR notes**: I split this out out from #2087 so that we can discuss the custom type changes separate from the remote type changes. I think the new syntax is...

According to the [documentation](https://mozilla.github.io/uniffi-rs/0.28/proc_macro/index.html#the-uniffiexport-attribute)([source](https://github.com/mozilla/uniffi-rs/blob/v0.28.0/docs/manual/src/proc_macro/index.md?plain=1#L109-L112)), `Option` is supported by proc macro: ``` #[uniffi::export] fn process_data(a: &MyRecord, b: &MyEnum, c: Option) {} ``` However, this seems to result in the following error:...