rust/compiler/rustc_serialize/src/lib.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
752 B
Rust
Raw Normal View History

//! Support code for encoding and decoding types.
#![doc(
2020-09-23 19:51:56 +00:00
html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/",
html_playground_url = "https://play.rust-lang.org/",
test(attr(allow(unused_variables), deny(warnings)))
)]
2023-11-13 12:39:17 +00:00
#![doc(rust_logo)]
#![allow(internal_features)]
#![feature(rustdoc_internals)]
2024-03-05 18:23:01 +00:00
#![cfg_attr(bootstrap, feature(associated_type_bounds))]
#![feature(const_option)]
#![feature(core_intrinsics)]
2024-01-29 22:59:09 +00:00
#![feature(generic_nonzero)]
#![feature(inline_const)]
#![feature(min_specialization)]
#![feature(never_type)]
#![feature(ptr_sub_ptr)]
2015-04-10 18:39:53 +00:00
#![cfg_attr(test, feature(test))]
#![allow(rustc::internal)]
pub use self::serialize::{Decodable, Decoder, Encodable, Encoder};
mod serialize;
pub mod leb128;
pub mod opaque;