Serialization and deserialization support provided by the compiler in the form
of derive(RustcEncodable, RustcDecodable)
.
Add this to your Cargo.toml
:
[dependencies]
rustc-serialize = "0.3"
and this to your crate root:
extern crate rustc_serialize;