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 deserialize_any and fix inconsitent serialize format. #604

Merged
merged 8 commits into from
Oct 11, 2021

Conversation

TimonPost
Copy link
Member

@TimonPost TimonPost commented Sep 18, 2021

Fixes: #603 #601

This PR removes deserialize_any which is according to the specs, not widely supported. One solution is to make everything an str such that serializing/deserializing is more simplistic. Although it does feel hacky it might be a valid solution.

Also, the inconsistent format was due to the auto derive Serialize and custom implementation for Deserialize. Now they are both implemented manually.

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.

Color deserialization - Bincode does not support the serde::Deserializer::deserialize_any method
1 participant