use log::*;
use std::time::Duration;

#[cfg(feature = "hyper_client")]
pub mod client {
    use super::*;
    use hyper::body::to_bytes;
    use hyper::Uri;
    use std::str::FromStr;

    pub type HttpClient = hyper::Client<
        hyper_timeout::TimeoutConnector<
            hyper::client::HttpConnector<hyper::client::connect::dns::GaiResolver>,