#![ allow (unused_imports) ] #![ allow (unused_import_braces) ] pub(crate) use crate::accepter::*; pub(crate) use crate::cli::*; pub(crate) use crate::configuration::*; pub(crate) use crate::connection::*; pub(crate) use crate::errors::*; pub(crate) use crate::exports::*; pub(crate) use crate::handler::*; pub(crate) use crate::server::*; pub(crate) use crate::sanitize::*; pub(crate) use crate::routes::*; pub(crate) use crate::profiling::*; pub(crate) use crate::extensions::*; pub(crate) use crate::resources::*; pub(crate) use ::std::*; pub(crate) use ::std::prelude::v1::*; pub(crate) use ::std::fmt; pub(crate) use ::std::convert::From; pub(crate) use ::std::convert::Into; pub(crate) use ::std::convert::TryInto; pub(crate) use ::std::convert::TryFrom; pub(crate) use ::std::error::Error; pub(crate) use ::std::future::Future; #[ cfg (feature = "futures") ] pub(crate) use ::futures::FutureExt as _; #[ cfg (feature = "futures") ] pub(crate) use ::futures::TryFutureExt as _; pub(crate) use ::std::marker::PhantomData; pub(crate) use ::std::ops::Deref; pub(crate) use ::std::pin::Pin; pub(crate) use ::std::sync::Arc; pub(crate) use ::std::sync::RwLock; pub(crate) use ::std::task::Poll; pub(crate) use ::std::task::Context; pub(crate) use ::std::ffi::OsStr; pub(crate) use ::std::ffi::OsString; pub(crate) mod futures { #[ cfg (feature = "futures") ] pub(crate) use ::futures::{ FutureExt, TryFutureExt, ready, }; } pub(crate) mod hyper { #[ cfg (feature = "hyper") ] pub(crate) use ::hyper::{ service::Service, service::service_fn, service::make_service_fn, }; #[ cfg (feature = "hyper--server-http") ] pub(crate) use ::hyper::{ server::conn::Http, server::Builder, rt::Executor, }; #[ cfg (feature = "hyper--server") ] pub(crate) use ::hyper::{ server::accept::Accept, }; } pub(crate) mod tokio { #[ cfg (feature = "tokio--net") ] pub(crate) use ::tokio::io::{ AsyncWrite, AsyncRead, ReadBuf, }; #[ cfg (feature = "tokio--net") ] pub(crate) use ::tokio::net::{ TcpListener, TcpStream, }; #[ cfg (feature = "tokio--rt") ] pub(crate) use ::tokio::runtime::{ Runtime, Builder as RuntimeBuilder, }; #[ cfg (feature = "tokio--rt") ] pub(crate) use ::tokio::task::{ spawn, }; #[ cfg (feature = "tokio--rt") ] pub(crate) use ::tokio::signal::{ ctrl_c, }; } #[ cfg (feature = "http") ] pub(crate) use ::http; #[ cfg (feature = "http-body") ] pub(crate) use ::http_body; #[ cfg (feature = "bytes") ] pub(crate) use ::bytes; #[ cfg (feature = "rustls") ] pub(crate) use ::rustls; #[ cfg (feature = "tokio-rustls") ] pub(crate) use ::tokio_rustls as tokio_rustls; #[ cfg (feature = "rustls-pemfile") ] pub(crate) use ::rustls_pemfile as rustls_pem; #[ cfg (feature = "native-tls") ] pub(crate) use ::native_tls as natls; #[ cfg (feature = "tokio-native-tls") ] pub(crate) use ::tokio_native_tls as tokio_natls; #[ cfg (feature = "path-tree") ] pub(crate) use ::path_tree; #[ cfg (feature = "argparse") ] pub(crate) use ::argparse;