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

Redesign DeserializerAdapter trait to support deserializing using DeserializeSeed #334

Merged
merged 30 commits into from
Apr 15, 2024

Conversation

jhelovuo
Copy link
Member

This is a continuation of PR #313 . Pull source has been changed to this repository.

phil-opp and others added 27 commits December 13, 2023 20:38
Discovery messages don't implement the serde Deserialize traits because they need an additional encoding value for Deserialization. By using a custom DefaultSeed trait, we can at least work around this issue by providing a dummy implementation.
Enables us to provide a default implementation for `from_bytes_seed`.
…zerAdapter. These were not used and no longer useful, because assembly of DATAFRAGs is immplemented without scatter-gather.
@jhelovuo jhelovuo requested a review from ohuopio April 15, 2024 06:31
@jhelovuo
Copy link
Member Author

This branch seems like ready to merge to master. @phil-opp , does it still work for you after the modifications I have done?

@phil-opp
Copy link
Contributor

Great, thanks a lot for the improvements and the documentation!

does it still work for you after the modifications I have done?

Yes, it does. I just updated Atostek/ros2-client#20 based on this PR and tried it with our dora project. Works without any problems.

phil-opp added a commit to dora-rs/dora that referenced this pull request Apr 15, 2024
@jhelovuo jhelovuo merged commit a3dfb9b into master Apr 15, 2024
6 checks passed
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.

2 participants