no_std_io2 0.9.3

The bare essentials of std::io for use in no_std. Alloc support is optional.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#![cfg_attr(feature = "nightly", feature(never_type))]
#![cfg_attr(not(feature = "std"), no_std)]
#![cfg_attr(feature = "std", allow(dead_code))]

pub use core::error;

#[cfg(not(feature = "std"))]
pub mod io;

#[cfg(feature = "std")]
pub use std::io;

#[cfg(feature = "alloc")]
extern crate alloc;