//!
//! This is just a listing of the functionality available in this crate. See //! the [std documentation](https://doc.rust-lang.org/nightly/std/io/index.html) //! for a full description of the functionality. #![allow(stable_features,unused_features)] #![feature(question_mark,const_fn,copy_from_slice,try_from,str_internals,align_offset,slice_internals)] #![cfg_attr(any(feature="alloc",feature="collections"),feature(alloc))] #![cfg_attr(pattern_guards,feature(bind_by_move_pattern_guards,nll))] #![cfg_attr(non_exhaustive,feature(non_exhaustive))] #![cfg_attr(unicode,feature(str_char))] #![cfg_attr(unicode,feature(unicode))] #![no_std] #[cfg_attr(feature="collections",macro_use)] #[cfg_attr(feature="collections",allow(unused_imports))] #[cfg(feature="collections")] extern crate alloc as collections; #[cfg(feature="alloc")] extern crate alloc; #[cfg(rustc_unicode)] extern crate rustc_unicode; #[cfg(std_unicode)] extern crate std_unicode; #[cfg(not(feature="collections"))] pub type ErrorString = &'static str; // Provide Box::new wrapper #[cfg(not(feature="alloc"))] struct FakeBox