-
Notifications
You must be signed in to change notification settings - Fork 186
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
Use of deserialize_any breaks deserialization with bincode #43
Comments
Thanks for that write up; I'll take a look into it. I'm a little reluctant to simply replace with
This may, however, be a compromise to support bincode etc. I'll do some further investigation. |
Interestingly, simply changing it to
I'll push in a change for the above now and create a new ticket for float support since it was something that didn't work before. |
Hi. Thanks for this crate. The |
I'll look into this a bit some more. I may try and wrap either this or the |
Currently the
deserialize
implementation calls the serdedeserialize_any
function, which breaks Decimal serialization with non-self describing formats like bincode [0].There are two possible easy fixes:
deserialize_any
withdeserialize_str
Serialize, Deserialize
[0] https://serde.rs/impl-deserialize.html
The text was updated successfully, but these errors were encountered: