-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stabilisation #23
Comments
I would say:
|
when you say autogenerated, do you mean the proto bindings, or the external API as well? |
I would say that the Rust API is all generated based on the proto files. That's what we do for other language wrappers. |
what's stopping you from directly exposing the generated code? i can see the argument for not exposing it directly. being able to guarantee greater API stability is one. Being able to smooth some of the rougher edges of the generated code being another. It does mean a lot more maintenance though. But you probably lose both of those advantages as soon as you start autogenerating the external API, right? by templates, do you mean that you would use the proto files for both generating the bindings (using tonic) and separately generate the external API using templates? |
I guess that's what we do for other languages but if the tonic API is nice enough than that's also fine, I'd say. |
quick sketch in #31 - tl;dr: you can have both |
I've been maintaining the AeroRust mav-sdk crate for a while now and currently working on the v0.2 that will support MAVSDK v1.0 (PR AeroRust/mav#6). You can check it out here: https://crates.io/crates/mav-sdk/ It seems to me that there's no work done on this crate and I've decided to make one in the AeroRust organization. |
Hi @elpiel, thanks for the note! Do you think your work in AeroRust/mav could flow back into this repo here? Could we merge the efforts, or is it all based on very different design decisions? |
Hello @julianoes, As for the design, my development efforts have been focused more on usability rather than the API and the particular code that's been generated. |
Sorry, I'm still confused. Let's have a call and talk it through, or chat on Slack sometime? |
Quick update: As of now, the We agreed that |
this SDK is listed on the website as a 'proof of concept'. What features would it need to be considered for stabilisation?
The text was updated successfully, but these errors were encountered: