hyperlocal-with-windows 0.9.0

Hyper bindings for Unix domain sockets
Documentation
#![deny(
    missing_debug_implementations,
    unreachable_pub,
    rust_2018_idioms,
    missing_docs
)]
#![warn(clippy::all, clippy::pedantic)]

//! `hyperlocal-with-windows` provides [Hyper](http://github.com/hyperium/hyper) bindings
//! for [Unix domain sockets](https://github.com/tokio-rs/tokio/tree/master/tokio-net/src/uds/).
//!
//! See the examples for how to configure a client or a server.
//!
//! # Features
//!
//! - Client- enables the client extension trait and connector. *Enabled by
//!   default*.
//!
//! - Server- enables the server extension trait. *Enabled by default*.

#[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;