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

feat: SerdeBincodeCompat trait #12991

Merged
merged 8 commits into from
Nov 29, 2024
Merged

feat: SerdeBincodeCompat trait #12991

merged 8 commits into from
Nov 29, 2024

Conversation

klkvr
Copy link
Collaborator

@klkvr klkvr commented Nov 28, 2024

For integration into ExExes and HeaderStage, we need a separate serde impls appropriate for bincode serialization. Right now this is solved with helper modules but this approach doesn't work for generic primitives

This PR introduces SerdeBincodeCompat which allows to specify a type representation which can be serialized using bincode.

@klkvr klkvr force-pushed the klkvr/serde-bincode-compat branch from cd5af67 to dc83dc5 Compare November 28, 2024 19:59
@klkvr klkvr force-pushed the klkvr/serde-bincode-compat branch from 2dd8c19 to e3d1868 Compare November 28, 2024 21:37
@klkvr klkvr force-pushed the klkvr/serde-bincode-compat branch from e3d1868 to 7119aba Compare November 28, 2024 21:38
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

great, this is a very nice solution

@mattsse mattsse added this pull request to the merge queue Nov 29, 2024
@mattsse mattsse added the C-enhancement New feature or request label Nov 29, 2024
@mattsse mattsse removed this pull request from the merge queue due to a manual request Nov 29, 2024
@klkvr klkvr added this pull request to the merge queue Nov 29, 2024
Merged via the queue into main with commit 1f1671a Nov 29, 2024
40 checks passed
@klkvr klkvr deleted the klkvr/serde-bincode-compat branch November 29, 2024 12:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants