Msgpack implementation for Rust language.
Simply include the rust-msgpack in your Cargo dependencies.
```toml [dependencies.msgpack]
git = "git@github.com:mneumann/rust-msgpack.git" ```
```rust extern crate msgpack;
fn main() { let arr = vec!["str1".tostring(), "str2".tostring()]; let str = msgpack::Encoder::to_msgpack(&arr).ok().unwrap(); println!("Encoded: {}", str);
let dec: Vec
To enable your own data structures to be automatically serialized from and to
msgpack, derive from Encodable
and Decodable
as shown
in the following example:
```rust extern crate serialize;
struct MyStruct {
a: Vec
cargo test
This code licensed under the same terms as Rust itself: dual MIT/Apache2 license options.