1#![no_std]
2
3#[cfg(feature = "std")]
4extern crate std;
5
6pub mod common;
7#[doc(inline)]
8pub use common::*;
9
10#[cfg(feature = "blocking")]
11pub mod blocking;
12#[cfg(all(feature = "blocking", feature = "io"))]
13#[doc(inline)]
14pub use blocking::{IoReceiver, IoSender};
15#[cfg(feature = "blocking")]
16#[doc(inline)]
17pub use blocking::{ReadBuffer, Receiver, Sender, WriteBuffer};
18
19#[cfg(feature = "async")]
20pub mod async_;
21#[cfg(feature = "async")]
22#[doc(inline)]
23pub use async_::{AsyncReadBuffer, AsyncWriteBuffer, Receiver as AsyncReceiver, Sender as AsyncSender};
24#[cfg(all(feature = "async", feature = "io"))]
25#[doc(inline)]
26pub use async_::{IoReceiver as AsyncIoReceiver, IoSender as AsyncIoSender};
27
28#[cfg(all(test, feature = "io"))]
29mod tests;