rustbreak
rustbreak copied to clipboard
support speedy https://docs.rs/speedy/
speedy is faster than bincode https://docs.rs/speedy/
Heya!
I built rustbreak with the explicit idea that there will be other serialization libraries in the future, which is why there is the DeSerializer. With that trait you can implement your own DeSerializer for any library you wish (and even make a crate out of it, if you think that might be helpful).
I won't be adding more different DeSerializers to the main crate though, so it would be up to you to make one. Don't worry though, it is very easy to do as can be seen in the ones in the crate:
https://github.com/TheNeikos/rustbreak/blob/c208619c5c0dd8e29b53fb3962746ad3eb39235c/src/deser.rs#L98-L108
Hope that helps!