bendk

Results 297 comments of bendk

> > However, in this model, _something_ is going to need to explicitly opt-in to the `dogear` target by creating an event sink for it. > > That all makes...

I updated this after our meeting yesterday: - Added a list of issues this is trying to address to the problem statement section - Changed option A from "Do nothing"...

> const encdec = ManagedEncryptorDecryptor.init(keyManager); I think this line may not work. NssKeyManager implements `KeyManager` in Rust, but UniFFI doesn't yet have the capabilities to auto convert it into a...

I think a draft PR would be great. One thing we've been talking about is trying to improve the internals docs, which are really out of date at this point....

... and now that I think of it, this feels like an extension of something I already want to do. I was hoping to have a bit that distinguished Rust...

IIUC, this could be summarized as allowing a second layer of scaffolding specific to a bindings generator. Seems like good idea to me, although I can't totally picture how it's...

> To fill in required fields for the uniffi_meta types. We can avoid this by making uniffi_udl generate its own types, rather than the uniffi_meta types. We don't need to...

> IOW, I think I'd support a story that was something like "only library mode is supported for bindings", but "udl parsing is supported to help generate scaffolding", and I...

I think it means updating the [ExternalKind](https://github.com/mozilla/uniffi-rs/blob/15a347327a1b45e55df8541d42578bde56ff4ee0/uniffi_meta/src/types.rs#L55-L60) enum to also include primitive types and then wiring up the rest of the code to generate/handle those variants. I'd estimate that as...

Yeah, that docstring has been incorrect since it was added. I'm not sure why I wrote that, I think I meant to say `&Option`. Supporting `Option` would be quite tricky....