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

Formatting/serialization support #100

Open
3 of 5 tasks
elpiel opened this issue Jun 12, 2023 · 3 comments
Open
3 of 5 tasks

Formatting/serialization support #100

elpiel opened this issue Jun 12, 2023 · 3 comments
Milestone

Comments

@elpiel
Copy link
Member

elpiel commented Jun 12, 2023

Other formats we could support (share your thoughts below):

  • serde Add serde support #102

  • bincode

  • ufmt defmt seems to be the go-to solution nowadays, this won't be implemented

  • All of these formats should be optionally configured with a feature of the crate

@elpiel elpiel added this to the v0.6 milestone Jun 12, 2023
@k-bx
Copy link

k-bx commented Dec 5, 2024

For my purposes I needed to modify existing NMEA message into a new NMEA message, and by my surprise, I didn't find a way to display GgaData as str. Is this considered as part of this issue or a separate one? Thank you

@elpiel
Copy link
Member Author

elpiel commented Dec 5, 2024

It currently hasn't been considered part of this issue but it can be included.

The challenging part is that this is no longer a parsing job.

I do want to make this feature, however, there might be some challenges in implementing Display for all sentences ( like accuracy of floating numbers).

Are you willing to give a try with a few sentences and open a PR?

@k-bx k-bx mentioned this issue Dec 6, 2024
@k-bx
Copy link

k-bx commented Dec 6, 2024

Made a quick and dirty API for anyone interested #137

By no means is it a proposal, just something that works on a limited subset of a real world problem

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

2 participants