Mark Hammond
Mark Hammond
Hi - thanks for your interest. I think your question is best summarized by [this comment](https://github.com/mozilla/uniffi-rs/issues/435#issuecomment-842907733), the tl;dr of which is: * We like the idea of additional bindings, but...
I don't think anyone in the core team has tried to use setuptools with python bindings generated by uniffi, but given a few posts, eg https://stackoverflow.com/questions/32757007/distutils-setup-generate-so-and-not-dylib-on-mac-os-x, it seems like .so...
It's worth noting that Mozilla is also looking at having gecko-js bindings live externally, and as soon as it is possible, we will probably reject requests to add more bindings...
I don't have a strong opinion here, but have some contradictory thoughts: * I'm not a huge fan of just "globally" hard-coding the name (ie, making `toString()` magically special) because...
I vaguely think JSON isn't a great example here, as I don't think a custom enum would make sense in practice - ie, it might mislead people into thinking that...
(hrm - I didn't think that through really - the point is not to define the enum in the udl, right? But maybe there's a skerrick of an idea there?)
As I noted in that other PR, the fact the compile functions are only used for tests isn't obvious to the casual reader, so I'm +1 on making it more...
That's odd - a clean checkout shouldn't need to update `Cargo.lock`, which is why `--locked` is specified. What differences to Cargo.lock are made if you run without that --locked flag?
How would that plan fit with #416?
> How could that last part work? We already have [code](https://github.com/mozilla/uniffi-rs/blob/main/uniffi_bindgen/src/scaffolding/templates/CallbackInterfaceTemplate.rs) that inputs a callback interface handle from the foreign side and creates a `Box` from it. Yeah - I...