tls-api-openssl 0.3.2

TLS API implementation over openssl crate
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::env;

fn main() {
    match env::var("DEP_OPENSSL_VERSION") {
        Ok(ref v) if v == "101" => {}
        Ok(ref v) if v >= &"102".to_string() => {
            println!("cargo:rustc-cfg=has_alpn");
        }
        _ => panic!("tls-api-openssl: Unable to detect OpenSSL version"),
    }
}