]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_serialize/src/lib.rs
New upstream version 1.61.0+dfsg1
[rustc.git] / compiler / rustc_serialize / src / lib.rs
CommitLineData
1a4d82fc
JJ
1//! Support code for encoding and decoding types.
2
3/*
4Core 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)]
8faf50e0 12#![feature(never_type)]
0bf4aa26 13#![feature(nll)]
416331ca 14#![feature(associated_type_bounds)]
5869c6ff 15#![feature(min_specialization)]
5869c6ff 16#![feature(core_intrinsics)]
5869c6ff 17#![feature(maybe_uninit_slice)]
5e7ed085 18#![feature(let_else)]
5869c6ff 19#![feature(new_uninit)]
9346a6ac 20#![cfg_attr(test, feature(test))]
e1599b0c 21#![allow(rustc::internal)]
1a4d82fc 22
dfeec247 23pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};
9e0c209e 24
1a4d82fc 25mod collection_impls;
dfeec247 26mod serialize;
1a4d82fc 27
1a4d82fc
JJ
28pub mod json;
29
9e0c209e 30pub mod leb128;
dfeec247 31pub mod opaque;