1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
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;