msgpack-rust
msgpack-rust copied to clipboard
MessagePack implementation for Rust / msgpack.org[Rust]
Thanks to https://github.com/3Hren/msgpack-rust/pull/204, it is possible to parse integers as floats. However, this does not seem to work if the parsed type is nested inside an untagged enum. For this...
This [issue in Serde](https://github.com/serde-rs/serde/issues/1587) affects Serde Msgpack. Serde Msgpack unlike other format implementations has an option to the serializer to tell whether to serialize structs as a map with named...
Being a newcomer to `rmp`, I needed some struggle to understand that I have to enable the `with-serde` feature of the `rmpv` crate for de/serializing data of type `rmpv::Value`. So...
Repo to reproduce error: https://github.com/LooMaclin/reproduce_rmp_serde_deserialize_enum_error Code example: ```rust extern crate rmp_serde; extern crate serde; #[macro_use] extern crate serde_derive; #[derive(Debug, Serialize, Deserialize)] #[serde(rename_all = "snake_case")] struct A { b: B, }...
Here deserialisation is returning Syntax("invalid value: integer `10`, expected field index 0
Hey! First of all thanks for your work! Could you imagine adding `From` impls for the `Array` and `Map` Value variants for homogeneous collections of elements that already are `Into`?...
I have difficulties to read a string. Here is what I do : let mut buf = [0;64]; rmp::decode::read_str(&mut reader, &mut buf); This way is good as long as my...
Here are the bytes produced (valid). ``` dc 00 11 91 cf 05 88 12 52 88 c2 00 0a 90 95 91 cf 01 ad fd 36 26 40...
There is no way (or it would be very hacky) to read the Ext meta data from the inner `rd` reader (the `get_ref` method only exposes the internal implementation of...
If I try to deserialize and get a TypeMismatch error, it tells me the actual type of the data, but it doesn't tell me the type that was expected. It...