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.2"
and this to your crate root:
extern crate "rustc-serialize" as rustc_serialize;