uniffi-rs
uniffi-rs copied to clipboard
a multi-language bindings generator for rust
I just noticed that @thomcc added [CI tests running address-sanitizer](https://github.com/mozilla/ffi-support/commit/07f174734e3f6caacf47ffe294f7aec533122e63) to ffi-support in CI, maybe we should try doing the same here. ┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/UNIFFI-12) ┆Issue...
Complementing #215 Putting this here so it doesn't get lost Having nested class for each error like this is pretty un-idiomatic in python. I'm not sure how to expose our...
Right now uniffi will call Rust using owned vectors, which isn't super idiomatic, we should special case this and pass `&[T]` instead. ┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/UNIFFI-14) ┆Issue...
Currently, we have multiple macros with `ffi_func` in the name, but which take a `func`. e.g. ``` {%- macro to_ffi_call_with_prefix(prefix, func) %} {%- macro _arg_list_ffi_call(func) %} ``` This makes it...
(Uh, this was way more than I intended to write about this 😓... I think my thoughts on the locking situation probably were worth writing down, since in general it...
Once #214 lands, defaulting arguments becomes testable in Python (see #283 for equivalent in kotlin and swift). This issue covers: * [ ] adding bindings for integer and floating point...
For Nimbus, it would be useful to have the component export some constants for well-known server configurations like `PRODUCTION` and `STAGING`. It looks like WebIDL has some [syntactic support for...
eg, in the nimbus IDL, I removed the trailing semicolon from the first (ie, namespace) line and see: > thread 'main' panicked at 'There is redundant raw data after parsing',...
Currently, Kotlin consumers can customize the name of the `.so` file from which to load a component, by specifying the [`uniffi.component.${componentName}.libraryOverride`](https://github.com/mozilla/uniffi-rs/blob/aea2e73618e0a399ce59ec5a4880582b05538636/uniffi_bindgen/src/bindings/kotlin/templates/NamespaceLibraryTemplate.kt#L2) system property. This works for simple cases, but it...
This is more an idea than a need, capturing here to not forget it. We currently are able to support Strings, numbers and booleans. It would be nice to be...