#deprecated #serialization #serde #json #base64 #deserialize #codec

deprecated 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 crate is deprecated in favor of serde.

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

⚠️ Issues reported

#161 in #base64

Download history 27057/week @ 2024-07-21 27318/week @ 2024-07-28 26059/week @ 2024-08-04 35137/week @ 2024-08-11 26786/week @ 2024-08-18 29749/week @ 2024-08-25 30752/week @ 2024-09-01 30760/week @ 2024-09-08 29717/week @ 2024-09-15 28818/week @ 2024-09-22 27776/week @ 2024-09-29 23603/week @ 2024-10-06 29087/week @ 2024-10-13 32306/week @ 2024-10-20 32437/week @ 2024-10-27 28813/week @ 2024-11-03

124,008 downloads per month
This crate has lost popularity

MIT/Apache

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 use serde, not this crate.

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.

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 use serde, 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;

No runtime deps