rustc_serialize/
lib.rs

1//! Support code for encoding and decoding types.
2
3// tidy-alphabetical-start
4#![allow(internal_features)]
5#![allow(rustc::internal)]
6#![cfg_attr(test, feature(test))]
7#![doc(
8    html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
9    html_playground_url = "https://play.rust-lang.org/",
10    test(attr(allow(unused_variables), deny(warnings)))
11)]
12#![doc(rust_logo)]
13#![feature(core_intrinsics)]
14#![feature(min_specialization)]
15#![feature(never_type)]
16#![feature(rustdoc_internals)]
17// tidy-alphabetical-end
18
19// Allows macros to refer to this crate as `::rustc_serialize`.
20#[cfg(test)]
21extern crate self as rustc_serialize;
22
23pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};
24
25mod serialize;
26
27pub mod int_overflow;
28pub mod leb128;
29pub mod opaque;