irid-std 0.3.1

A replacement for std when running without a filesystem on the irid kernel
Documentation
mod stdio;
mod error;

use core::marker::PhantomData;

pub(crate) use error::convert_error;

pub use alloc::io::{Error, ErrorKind, Chain, Empty, Repeat, Sink, Take, BufRead, Read, Write, Seek, SeekFrom, read_to_string, Bytes, Lines, Split};

pub type Stdin = stdio::StdInput<0>;
pub type Stdout = stdio::StdOutput<1>;
pub type Stderr = stdio::StdOutput<2>;

pub fn stdin() -> Stdin {
    Stdin {
        _hidden: PhantomData
    }
}

pub fn stdout() -> Stdout {
    Stdout {
        _hidden: PhantomData
    }
}

pub fn stderr() -> Stderr {
    Stderr {
        _hidden: PhantomData
    }
}