#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

#143 in #base64

Download history 30220/week @ 2023-12-10 29099/week @ 2023-12-17 20348/week @ 2023-12-24 19988/week @ 2023-12-31 26280/week @ 2024-01-07 26396/week @ 2024-01-14 25919/week @ 2024-01-21 24639/week @ 2024-01-28 25507/week @ 2024-02-04 27191/week @ 2024-02-11 31622/week @ 2024-02-18 30519/week @ 2024-02-25 28629/week @ 2024-03-03 27700/week @ 2024-03-10 28199/week @ 2024-03-17 27909/week @ 2024-03-24

114,538 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