]> git.lizzy.rs Git - rust.git/blob - src/librustc_serialize/lib.rs
Rollup merge of #75485 - RalfJung:pin, r=nagisa
[rust.git] / src / librustc_serialize / lib.rs
1 //! Support code for encoding and decoding types.
2
3 /*
4 Core encoding and decoding interfaces.
5 */
6
7 #![doc(
8     html_root_url = "https://doc.rust-lang.org/nightly/",
9     html_playground_url = "https://play.rust-lang.org/",
10     test(attr(allow(unused_variables), deny(warnings)))
11 )]
12 #![feature(box_syntax)]
13 #![feature(never_type)]
14 #![feature(nll)]
15 #![feature(associated_type_bounds)]
16 #![cfg_attr(test, feature(test))]
17 #![allow(rustc::internal)]
18
19 pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};
20
21 mod collection_impls;
22 mod serialize;
23
24 pub mod json;
25
26 pub mod leb128;
27 pub mod opaque;