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
#![no_std]
#[cfg(feature = "alloc")]
extern crate alloc;
#[cfg(feature = "std")]
extern crate std;
pub mod consumer;
pub mod producer;
pub mod ring_buffer;
#[cfg(feature = "alloc")]
mod alias;
mod transfer;
#[cfg(feature = "alloc")]
pub use alias::{AsyncHeapConsumer, AsyncHeapProducer, AsyncHeapRb};
pub use consumer::AsyncConsumer;
pub use producer::AsyncProducer;
pub use ring_buffer::AsyncRb;
pub use transfer::async_transfer;
#[cfg(feature = "std")]
#[cfg(test)]
mod tests;