Crates.io | rustc-serialize2 |
lib.rs | rustc-serialize2 |
version | 0.3.25 |
source | src |
created_at | 2019-07-11 21:46:54.223249 |
updated_at | 2019-07-11 21:46:54.223249 |
description | 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. Compared to the original rustc-serialize, this crate: * Supports all `rustc` targets. * Can work in `no_std` environments with the `alloc` crate. |
homepage | https://github.com/rust-lang/rustc-serialize |
repository | https://github.com/rust-lang/rustc-serialize |
max_upload_size | |
id | 148375 |
size | 246,650 |
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)
.
Add this to your Cargo.toml
:
[dependencies]
rustc-serialize = "0.3"
and this to your crate root:
extern crate rustc_serialize;