cached
cached copied to clipboard
First try of serde implementation
About https://github.com/jaemk/cached/issues/49
This is a draft of a serde feature
- This is a strait forward implementation
- We could maybe do custom serialize and deserialize implementation to optimize the serialization and deserialization, for example
storeis not strictly needed, order could be serialize without next and prev, just a ordered vector. - This trust the input, this crate doesn't use unsafe so it's "ok" but that another reason to do a manual implementation.