Open mjos opened 5 years ago
We could add that via a cargo feature. SliceDeque
derefs into a slice, so implementing this should be a one liner, since serde
supports serializing and deserializing slices.
That would be great! Being a beginner I failed to implement custom deserializer (serializer was easier) for external type today, so I reverted to VecDeque for now.
There is a PR open to close this in #72 . Once that is merged I'll release 0.2.5 with this. To enable serde support you'll need to enable the serde
cargo feature.
Thanks! And I learned something.
Hi,
Is it possible to add support for serialization and deserialization via serde derive? Serialization is briefly mentioned in Readme, but otherwise no examples given. Thanks a lot.