accepts 0.0.2

Minimal traits and blanket impls for sync/async acceptors (pipeline foundation)
Documentation
//! Foundational acceptor traits exposed by the crate.
//!
//! These traits abstract over types that can *accept* values or asynchronous
//! computations.  They serve as the building blocks for adapters provided in
//! other modules and make it possible to write code that is generic over
//! different acceptor implementations.

#![allow(clippy::manual_async_fn)]

#[cfg(feature = "alloc")]
extern crate alloc;

mod implementations;

//sync
mod accepts;
pub use accepts::Accepts;

//async
mod async_accepts;
pub use async_accepts::AsyncAccepts;

//box
#[cfg(feature = "alloc")]
mod dyn_async_accepts;
#[cfg(feature = "alloc")]
pub use dyn_async_accepts::DynAsyncAccepts;