Baptiste Girardeau

Results 14 comments of Baptiste Girardeau

> It looks alphabetical? Is that intentional? Yes, parameters are ordered in alphabetical order to avoid breaking changes in the generated code if parameters are reordered in translations. Since all...

> A simpler solution than a macro could just be generating a struct as "keyword arguments". The first option repeat the key name twice, which can be quite long. For...

I will start working on a `0.2` release of rosetta next week, with the builders for keys with arguments :+1:

Hello! Thanks for your interest in this project :smile: > How can i select the language dynamically? The generated `Lang` type implement the [`Language`](https://docs.rs/rosetta-i18n/latest/rosetta_i18n/trait.Language.html) trait and have a `from_language_id()` method...

> Any rough estimate how long this rewrite would take? I haven't much free time right now, I think I'll start working on it in the next month or two.

A macro would lose some of the advantages of the current implementation, such as autocompletion by your code editor. I think it would be better to simply provide a function...

Thanks for reporting, I'll fix that as soon as possible!

Implementing [tokio-rs/mini-redis](https://github.com/tokio-rs/mini-redis) with `remoc` could be a good example of real use case. I was thinking of a RTC interface with pub/sub based on broadcast channels, with automatic client reconnection...

> I agree that connection setup is an area where Remoc could benefit from some utility functions for common tasks. However I am not sure if these utility functions should...

That looks good! I'll see what I can do on my side, I'll keep you informed :+1: