Skip to content
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

Rust support? #264

Open
bhagen55 opened this issue Sep 27, 2023 · 3 comments
Open

Rust support? #264

bhagen55 opened this issue Sep 27, 2023 · 3 comments

Comments

@bhagen55
Copy link

Any chance Rust support (for message definitions, at least) is planned?

@adamshapiro0
Copy link
Collaborator

Hi @bhagen55, we'd love to learn more about your use case. We are also always open to pull requests for new functionality!

@bhagen55
Copy link
Author

Hey Adam!
I work for Zipline, and we are integrating some Quectel modules into our vehicles that run the Fusion Engine.

Most of our core embedded software stack is written in Rust, so we try to deviate into other languages as little as possible to make life easier and get the memory safety/speed benefits from the language. Our current GNSS driver is also written in Rust, but we now want it to speak Fusion Engine protocol so we can configure the GNSS units and query status and such.

I am going to be writing some FFI bridge code to call into some C++ wrappers so we can use your message library directly. Just wanted to see if there was any talk about Rust message definitions coming into play in the future.
I would potentially be interested in working on that, but I also see that the messages are changing fairly frequently, so I probably couldn't commit to maintaining the Rust side of things.

@gruver
Copy link

gruver commented Oct 6, 2023

Hi Blair -

Currently we don’t have Rust engineers on staff. As such wrapping C++ is probably most direct, and we’ll continue to maintain the C++ libraries.

If you end up wanting to write some of this in Rust we’re available to help with understanding the protocol and advising on unit tests, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants