async_acceptor/lib.rs
1//! Abstraction `AsyncAcceptable` over tokio listeners with an async `accept()` method
2//
3// SPDX-License-Identifier: Apache-2.0 OR GPL-3.0-or-later
4
5#![deny(rust_2018_idioms, missing_docs, missing_debug_implementations)]
6#![deny(clippy::pedantic, clippy::cargo, clippy::nursery, clippy::unwrap_used)]
7#![allow(clippy::multiple_crate_versions)]
8
9mod async_acceptable;
10#[cfg(feature = "stdio")]
11mod stdio;
12
13pub use async_acceptable::{AsyncAcceptable, AsyncAcceptableExt};
14#[cfg(feature = "stdio")]
15pub use stdio::{ReusableListener, ReusableListenerStream};