async_ringbuf/
lib.rs

1#![no_std]
2#![allow(clippy::missing_safety_doc)]
3#![cfg_attr(feature = "bench", feature(test))]
4
5#[cfg(feature = "alloc")]
6extern crate alloc;
7#[cfg(feature = "std")]
8extern crate std;
9
10mod alias;
11pub mod rb;
12pub mod traits;
13mod transfer;
14pub mod wrap;
15
16pub use alias::*;
17pub use rb::AsyncRb;
18pub use traits::{consumer, producer};
19pub use transfer::async_transfer;
20
21#[cfg(all(test, feature = "alloc"))]
22mod tests;
23
24#[cfg(all(test, feature = "bench"))]
25mod bench;