Skip to content

Add serde support to messages #131

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

Merged
merged 1 commit into from
Apr 29, 2022
Merged

Add serde support to messages #131

merged 1 commit into from
Apr 29, 2022

Conversation

nnmm
Copy link
Contributor

@nnmm nnmm commented Apr 28, 2022

The current implementation is not the most efficient one possible, except for sequence serialization: It uses std::string::String and Vec as intermediate formats instead of directly deserializing/serializing to the rosidl_runtime_rs datatype.

Closes #115

@nnmm nnmm requested review from esteve and jhdcs April 28, 2022 19:02
Copy link
Collaborator

@jhdcs jhdcs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to look all right to me, though I'm hoping @esteve will be able to give a look-through and approval as well before merging. I'm not 100% confident on my CMake skills, for example.

I do like the quickcheck crate - I'll have to look into what all it can do...

@nnmm
Copy link
Contributor Author

nnmm commented Apr 29, 2022

Thx!

@nnmm nnmm merged commit 6d11125 into master Apr 29, 2022
@nnmm nnmm deleted the serde branch April 29, 2022 09:49
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

Successfully merging this pull request may close these issues.

Optionally make messages implement Serde traits
3 participants