mio_httpc 0.8.6

mio_httpc is a fully async and sync http client running on top of mio only.
Documentation
use std::env;

fn main() {
    let target = ::std::env::var("TARGET").unwrap();
    if target.contains("macos") || target.contains("ios") {
        println!("cargo:rustc-link-lib=framework=Security");
    }
    // HAS
    match env::var("DEP_OPENSSL_VERSION") {
        Ok(ref v) if v == "101" => {}
        Ok(ref v) if v == "102" => {
            println!("cargo:rustc-cfg=has_alpn");
        }
        Ok(ref v) if v == "110" => {
            println!("cargo:rustc-cfg=has_alpn");
        }
        _ => {}
    }
}