lock_api 0.4.12

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

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