#rustc-serialize #struct #vice #versa

nightly serde_rustc_serialize_interop

Allows encoding a struct implementing serde's Serialize using rustc_serialize, or vice versa

1 stable release

Uses old Rust 2015

1.0.0 Mar 13, 2016

#7 in #versa

MIT license

7KB
123 lines

serde-rustc-serialize-interop

Allows encoding a struct implementing serde's Serialize using rustc_serialize, or vice versa.

This crate requires nightly rust to compile.


lib.rs:

Allows encoding a struct implementing serde's Serialize using rustc_serialize, or vice versa.

This is now without difficulties, however. For one, there is another step between your struct and your byte stream.

Dependencies

~2MB
~40K SLoC