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

remove rmp-serde #1057

Merged
merged 2 commits into from Jun 18, 2023
Merged

remove rmp-serde #1057

merged 2 commits into from Jun 18, 2023

Conversation

conradludgate
Copy link
Collaborator

Messagepack is a nice serialisation format, but rmp-serde is not. serde is designed for self describing documents. Messagepack is not self describing, which makes it prone to breakages.

Common breakages include:

  • reordering fields
  • adding fields
  • removing fields

By writing the encoding out explicitly, we can see clearer when the encode/decode change will cause a breakage. The record version is used to allow different encodings.

@vercel
Copy link

vercel bot commented Jun 18, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
atuin ✅ Ready (Inspect) Visit Preview Jun 18, 2023 11:11am

Copy link
Member

@ellie ellie left a comment

Choose a reason for hiding this comment

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

Nice one 👏

@conradludgate conradludgate merged commit b8b57c8 into main Jun 18, 2023
9 checks passed
@conradludgate conradludgate deleted the remove-rmp-serde branch June 18, 2023 11:33
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.

None yet

2 participants