Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up"bincode does not support Deserializer::deserialize" #85
Comments
|
Actually it serialized as "2016-08-16T16:41:52.757059590"... which I guess breaks the "no fluff" premise of bincode... but I think the way serde is designed it leaves things up to the type definer so not much can be done about that AFAIK. |
|
Looks like a bug in chrono. It should be calling @mikedilger to understand why this is a problem: |
|
I made a chrono PR with a fix chronotope/chrono#89. |
I plan to do something about that in Chrono 0.3. As far as I understand, the ability to change the representation per the (de)serializer is heavily dependent of the specialization. |
|
@dtolnay @lifthrasiir Thanks! |
Is this something that could be implemented, or does it mean my code is doing something wrong?
I'm trying to deserialize a
chrono::NaiveDateTimewhich bincode serialized just fine.