lock_api 0.4.13

Wrappers to create fully-featured Mutex and RwLock types. Compatible with no_std.
Documentation
1
2
3
4
5
6
7
8
9
fn main() {
    let cfg = autocfg::new();

    println!("cargo:rerun-if-changed=build.rs");
    println!("cargo:rustc-check-cfg=cfg(has_const_fn_trait_bound)");
    if cfg.probe_rustc_version(1, 61) {
        println!("cargo:rustc-cfg=has_const_fn_trait_bound");
    }
}