mod buf;
mod buf_mut;
// mod buf_stream;
mod decode;
mod encode;
mod read_buf;
// mod write_and_flush;
pub use buf::BufExt;
pub use buf_mut::BufMutExt;
//pub use buf_stream::BufStream;
pub use decode::Decode;
pub use encode::Encode;
pub use read_buf::ReadBuf;
#[cfg(not(feature = "_rt-tokio"))]
pub use futures_io::AsyncRead;
#[cfg(feature = "_rt-tokio")]
pub use tokio::io::AsyncRead;
#[cfg(not(feature = "_rt-tokio"))]
pub use futures_util::io::AsyncReadExt;
#[cfg(feature = "_rt-tokio")]
pub use tokio::io::AsyncReadExt;