1 2 3 4 5 6 7 8 9 10 11 12 13 14
#![no_std] #[cfg(feature = "std")] extern crate std; mod device; mod fixed_buffer; #[cfg(feature = "std")] mod stdio; pub use device::Device; pub use fixed_buffer::FixedBufferDevice; #[cfg(feature = "std")] pub use stdio::StdioDevice;