cryprot-core 0.3.0

Core primitives for cryptographic protocol implementations.
Documentation
1
2
3
4
5
6
7
8
9
10
11
fn main() {
    println!("cargo::rustc-check-cfg=cfg(is_nightly)");

    let is_nightly = rustc_version::version_meta()
        .map(|meta| meta.channel == rustc_version::Channel::Nightly)
        .unwrap_or(false);

    if is_nightly {
        println!("cargo:rustc-cfg=is_nightly");
    }
}