#![warn(missing_docs)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![no_std]
extern crate alloc;
#[cfg(feature = "blocking")]
mod blocking;
pub mod capacity;
mod channel;
#[cfg(any(feature = "compat-tokio", feature = "compat-std",))]
pub mod compat;
pub mod errors;
mod internal;
mod loom;
pub mod mpmc;
pub mod mpsc;
mod rc;
pub mod spmc;
pub mod spsc;
mod waiter;
pub use aiq::sync;
pub use channel::{
Channel, ChannelHalf, ChannelId, CloseGuard, CloseHandle, MRx, MTx, Rx, Tx, UMTx, UTx, Weak,
};
pub mod futures {
pub use crate::channel::{ClosedFuture, RecvFuture, SendFuture};
}
pub const DEFAULT_UNBOUNDED_BACKOFF: bool = cfg!(any(
target_arch = "x86_64",
target_arch = "x86",
target_arch = "riscv64",
target_arch = "riscv32",
target_arch = "powerpc64",
target_arch = "powerpc",
target_arch = "arm",
));