1 //! io.rs --- minimal nostd-friendly `std::io` wrapper 2 pub use self::imp::{Error, Result, Write}; 3 4 #[cfg(not(feature = "std"))] 5 #[path = "nostd.rs"] 6 mod imp; 7 8 #[cfg(feature = "std")] 9 use std::io as imp; 10 11 #[cfg(feature = "std")] 12 pub use std::io::{Bytes, Read};