1 unstable release
Uses old Rust 2015
0.3.25 | Jul 11, 2019 |
---|
#148 in #base64
230KB
5K
SLoC
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;
lib.rs
:
Support code for encoding and decoding types.
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.
Usage
This crate is on crates.io and
can be used by adding rustc-serialize
to the dependencies in your
project's Cargo.toml
.
[dependencies]
rustc-serialize = "0.3"
and this to your crate root:
extern crate rustc_serialize;