mockiato-codegen 0.9.5

Internally used by mockiato for code generation. This crate should never be used directly
Documentation
1
2
3
4
5
6
7
use rustc_version::{version_meta, Channel};

fn main() {
    if let Channel::Nightly = version_meta().unwrap().channel {
        println!("cargo:rustc-cfg=rustc_is_nightly");
    }
}