#![deny(
missing_debug_implementations,
unreachable_pub,
rust_2018_idioms,
missing_docs
)]
#![warn(clippy::all, clippy::pedantic)]
#[cfg(feature = "client")]
#[cfg_attr(windows, path = "client_windows.rs")]
mod client;
#[cfg(feature = "client")]
pub use client::{UnixClientExt, UnixConnector, UnixStream};
#[cfg(feature = "server")]
#[cfg_attr(windows, path = "server_windows.rs")]
mod server;
#[cfg(feature = "server")]
pub use server::{CommonUnixListener, UnixListenerExt};
#[cfg(feature = "server")]
mod server_helpers;
#[cfg(feature = "server")]
pub use server_helpers::remove_unix_socket_if_present;
#[cfg(all(windows, any(feature = "client", feature = "server")))]
mod windows;
mod uri;
pub use uri::Uri;