Skip to content

v0.4.3: Merge pull request #9 from autozimu/serde

Compare
Choose a tag to compare
@daa84 daa84 released this 26 Oct 08:24
· 67 commits to master since this release

Turn on serde support for Value to allow deserialization

#[Deserialize, Serialize]
struct MyStruct {
    foo: String,
    bar: i64,
}

let v = Value;
let s: MyStruct = rmpv::ext::deserialize_from(v).unwrap();