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
27
28
29
30
31
32
33
34
35
#![deny(missing_docs)]
#![cfg_attr(can_vector, feature(can_vector))]
#![cfg_attr(write_all_vectored, feature(write_all_vectored))]
#![cfg_attr(read_initializer, feature(read_initializer))]
#![cfg_attr(target_os = "wasi", feature(wasi_ext))]
#[cfg(feature = "async-std")]
mod async_std;
mod buffered;
mod lockers;
mod streams;
#[cfg(feature = "tokio")]
mod tokio;
#[cfg(feature = "async-std")]
pub use crate::async_std::{AsyncStreamDuplexer, AsyncStreamReader, AsyncStreamWriter};
#[cfg(feature = "tokio")]
pub use crate::tokio::{TokioStreamDuplexer, TokioStreamReader, TokioStreamWriter};
pub use buffered::{BufDuplexer, BufReaderLineWriter, IntoInnerError};
pub use streams::{StreamDuplexer, StreamReader, StreamWriter};