#serialization #json #base64 #codec #hex #decoding #compiler

deprecated nightly core_rustc-serialize

Generic serialization/deserialization support corresponding to the derive(RustcEncodable, RustcDecodable) mode in the compiler. Also includes support for hex, base64, and json encoding and decoding. This version does not depend on std, only on core+collections

3 releases

Uses old Rust 2015

0.3.20-v0.3.19patch1 Jul 31, 2016
0.3.19+patch1 Jul 31, 2016
0.3.19 Jul 30, 2016
0.3.18 Feb 13, 2016

#140 in #base64

MIT/Apache

220KB
4.5K SLoC

rustc-serialize

Serialization and deserialization support provided by the compiler in the form of derive(RustcEncodable, RustcDecodable).

Linux Build Status Windows Build Status

Documentation

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.

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;

Dependencies

~12MB
~197K SLoC