]>
Commit | Line | Data |
---|---|---|
1a4d82fc JJ |
1 | //! Support code for encoding and decoding types. |
2 | ||
3 | /* | |
4 | Core encoding and decoding interfaces. | |
5 | */ | |
6 | ||
dfeec247 | 7 | #![doc( |
1b1a35ee | 8 | html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/", |
dfeec247 XL |
9 | html_playground_url = "https://play.rust-lang.org/", |
10 | test(attr(allow(unused_variables), deny(warnings))) | |
11 | )] | |
1a4d82fc | 12 | #![feature(box_syntax)] |
8faf50e0 | 13 | #![feature(never_type)] |
0bf4aa26 | 14 | #![feature(nll)] |
416331ca | 15 | #![feature(associated_type_bounds)] |
5869c6ff XL |
16 | #![feature(min_specialization)] |
17 | #![feature(vec_spare_capacity)] | |
18 | #![feature(core_intrinsics)] | |
19 | #![feature(int_bits_const)] | |
20 | #![feature(maybe_uninit_slice)] | |
21 | #![feature(new_uninit)] | |
9346a6ac | 22 | #![cfg_attr(test, feature(test))] |
e1599b0c | 23 | #![allow(rustc::internal)] |
1a4d82fc | 24 | |
dfeec247 | 25 | pub use self::serialize::{Decodable, Decoder, Encodable, Encoder}; |
9e0c209e | 26 | |
1a4d82fc | 27 | mod collection_impls; |
dfeec247 | 28 | mod serialize; |
1a4d82fc | 29 | |
1a4d82fc JJ |
30 | pub mod json; |
31 | ||
9e0c209e | 32 | pub mod leb128; |
dfeec247 | 33 | pub mod opaque; |