rustc-serialize
NOTE: This crate is deprecated in favor of
serde
. No new feature development will happen in this crate, although bug fixes proposed through PRs will still be merged. It is very highly recommended by the Rust Library Team that you useserde
, not this crate.
Serialization and deserialization support provided by the compiler in the form
of derive(RustcEncodable, RustcDecodable)
.
Usage
Add this to your Cargo.toml
:
[dependencies]
rustc-serialize = "0.3"
and this to your crate root:
extern crate rustc_serialize;