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

Allow responding with named MessagePack data. #2566

Closed
wants to merge 2 commits into from

Conversation

Artemis21
Copy link
Contributor

Closes #2107. See also #1882.

This implementation does not change the default, but notes in the docs that users should pick an explicit option to allow for the default changing in the future.

Also, const generics are used to avoid having to duplicate implementations which would be the same for both named and compact representations. Arguably this does not provide the best user ergonomics, so let me know if you'd prefer a different implementation.

core/lib/src/serde/msgpack.rs Outdated Show resolved Hide resolved
core/lib/src/serde/msgpack.rs Outdated Show resolved Hide resolved
@the10thWiz
Copy link
Collaborator

Merged in db598be!

@the10thWiz the10thWiz closed this Aug 10, 2024
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.

Allow named msgpack serialization
2 participants