dairy 0.2.2

A more compact, user friendly clone-on-write smart pointer.
Documentation
1
2
3
4
5
6
7
8
9
10
11
use std::env;

fn env(key: &str, value: &str) -> bool {
    env::var(key).as_deref() == Ok(value)
}

fn main() {
    if env("CARGO_CFG_TARGET_FAMILY", "unix") || env("CARGO_CFG_TARGET_OS", "wasi") {
        println!("cargo:rustc-cfg=os_str_ext");
    }
}