// devela::sys::io::no_std_define
//
//! Reimplementations of I/O functionality for `no_std`.
//
// WAIT: [no_std io](https://github.com/rust-lang/rust/issues/48331)

mod error; // IoError, IoErrorKind, IoResult
mod read; // IoRead, IoBufRead, IoBytes, IoChain, IoTake
mod write; // IoWrite
pub use {error::*, read::*, write::*};

#[cfg(feature = "io")]
crate::items! {
    mod buffered; // IoBufReader, IoBufWriter, IoLineWriter, IntoInnerError
    mod cursor; // IoSeek, IoSeekFrom, IoCursor
    mod other; // io_copy, IoEmpty, IoRepeat
    #[cfg_attr(nightly_doc, doc(cfg(feature = "io")))]
    pub use {buffered::*, cursor::*, other::*};
}
