msgpck_derive 0.1.0

Derive macros for msgpck
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use msgpck::{MsgPck, UnMsgPck};

struct Foo {
    a: bool,
    b: String,
}

#[derive(MsgPck, UnMsgPck)]
struct Bar {
    a: f32,
    foo: Foo,
}