#deprecated #serialization #json #serde #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

#146 in #base64

Download history 21590/week @ 2024-01-02 26826/week @ 2024-01-09 26740/week @ 2024-01-16 24996/week @ 2024-01-23 25583/week @ 2024-01-30 25755/week @ 2024-02-06 29282/week @ 2024-02-13 30161/week @ 2024-02-20 30316/week @ 2024-02-27 28795/week @ 2024-03-05 26857/week @ 2024-03-12 28785/week @ 2024-03-19 30827/week @ 2024-03-26 28953/week @ 2024-04-02 27904/week @ 2024-04-09 28046/week @ 2024-04-16

120,360 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