msgpack-rust
msgpack-rust copied to clipboard
MessagePack implementation for Rust / msgpack.org[Rust]
If the deserializer encounters a type mismatch, consume the unexpected value, returning the deserializer to a valid state will close #361
I have a pre-existing msgpack schema that I tried to encode in rmp-serde like this: ``` #[derive(Serialize, Deserialize, PartialEq, Debug, Clone)] #[serde(untagged)] pub enum Value { Numeric(f32), String(String), #[serde(with =...
This PR tries to reduce the size of deserializers generated by rmp-serde by avoiding matching against irrelevant markers, instead using a specialized match expression that is generated using a macro...
I have a use case where I want to have the possibility to introduce a breaking change to a data structure. If my app currently only supports version `0`, it...
This matches code from `std`: ``` impl Write for &mut [u8] { #[inline] fn write(&mut self, data: &[u8]) -> io::Result { let amt = cmp::min(data.len(), self.len()); let (a, b) =...