Skip to content

Improve compatibility with other messagepack implementations, macro/functions for binary, no nightly #19

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

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

computermouth
Copy link

Howdy,

your library here is great, but I noticed a couple things when using it.

  1. it doesn't use a top-level array for arrays or objects with derive (and thus these don't really work with other libraries/tools)
  2. unit struct serialization is different from other implementations
  3. Vec was always BIN rather than ARRAY, I put in an attribute to opt-in in derive and added a binary_unpack_iter
  4. removed nightly features

Overall, I'm not sure you're going to want these changes. It makes the library much slower, but personally I'm much more interested in compatibility with other libraries/tools, and also not using the nightly toolchain.

I figured I'd bubble this up and see if you wanted any of these changes. (This also includes @tehmatt PR #16 )

If there's no interest in upstreaming, I will probably push up a fork of this to crates.io in a few weeks

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