]> git.proxmox.com Git - rustc.git/blame - compiler/rustc_serialize/src/lib.rs
New upstream version 1.71.1+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)]
416331ca 13#![feature(associated_type_bounds)]
5869c6ff 14#![feature(min_specialization)]
5869c6ff 15#![feature(core_intrinsics)]
5869c6ff
XL
16#![feature(maybe_uninit_slice)]
17#![feature(new_uninit)]
f2b60f7d 18#![feature(allocator_api)]
49aad941 19#![feature(ptr_sub_ptr)]
9346a6ac 20#![cfg_attr(test, feature(test))]
e1599b0c 21#![allow(rustc::internal)]
f2b60f7d
FG
22#![deny(rustc::untranslatable_diagnostic)]
23#![deny(rustc::diagnostic_outside_of_impl)]
1a4d82fc 24
dfeec247 25pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};
9e0c209e 26
1a4d82fc 27mod collection_impls;
dfeec247 28mod serialize;
1a4d82fc 29
9e0c209e 30pub mod leb128;
dfeec247 31pub mod opaque;