| //! Support code for encoding and decoding types. | |
| // tidy-alphabetical-start | |
| #![allow(internal_features)] | |
| #![allow(rustc::internal)] | |
| #![cfg_attr(bootstrap, feature(never_type))] | |
| #![doc(test(attr(allow(unused_variables), deny(warnings))))] | |
| #![feature(core_intrinsics)] | |
| #![feature(min_specialization)] | |
| #![feature(nonzero_internals)] | |
| #![feature(sized_hierarchy)] | |
| // tidy-alphabetical-end | |
| // Allows macros to refer to this crate as `::rustc_serialize`. | |
| #[cfg(test)] | |
| extern crate self as rustc_serialize; | |
| pub use self::serialize::{Decodable, Decoder, Encodable, Encoder}; | |
| mod serialize; | |
| pub mod int_overflow; | |
| pub mod leb128; | |
| pub mod opaque; |