snow 0.9.6

A pure-rust implementation of the Noise Protocol Framework
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use rustc_version::{version_meta, Channel};
use std::env;

fn main() {
    if env::var("CARGO_FEATURE_SODIUMOXIDE").is_ok() {
        println!(
            "cargo:warning=Use of the sodiumoxide backend is deprecated, as it is no longer \
             maintained; please consider switching to another resolver."
        )
    }
    if version_meta().unwrap().channel == Channel::Nightly {
        println!("cargo:rustc-cfg=feature=\"nightly\"");
    }
}