1
0
Fork 0
artiq-zynq/src/libio/lib.rs

20 lines
402 B
Rust
Raw Normal View History

#![no_std]
#![feature(never_type)]
2023-09-05 16:21:39 +08:00
#[cfg(feature = "alloc")]
extern crate alloc;
extern crate core_io;
#[cfg(feature = "byteorder")]
extern crate byteorder;
pub mod cursor;
#[cfg(feature = "byteorder")]
pub mod proto;
pub use cursor::Cursor;
#[cfg(all(feature = "byteorder", feature = "alloc"))]
pub use proto::ReadStringError;
#[cfg(feature = "byteorder")]
pub use proto::{ProtoRead, ProtoWrite};