47 releases
Uses old Rust 2015
0.3.25 | Dec 1, 2023 |
---|---|
0.3.24 | Apr 21, 2017 |
0.3.23 | Mar 15, 2017 |
0.3.22 | Dec 7, 2016 |
0.1.5 | Dec 24, 2014 |
#161 in #base64
124,008 downloads per month
This crate has lost popularity
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;