rsinfo 0.1.3

Add `vergen` to your [build-dependencies], then get all build info in single struct.
Documentation
pub const UNIX:    bool = cfg!(target_family="unix");
pub const WINDOWS: bool = cfg!(target_family="windows");
pub const WASM:    bool = cfg!(target_family="wasm");

// [ANCHOR START] CONST-TO-STRUCT.PY //

/*
 * the following source code is automatic generated by const-to-struct.py
 * DO NOT EDIT.
*/

#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub struct cfg_target_family_info {
    pub unix: bool,
    pub windows: bool,
    pub wasm: bool,
}
pub const ALL_INFO: cfg_target_family_info = all_info();
pub const fn all_info() -> cfg_target_family_info {
    cfg_target_family_info {
        unix: UNIX,
        windows: WINDOWS,
        wasm: WASM,
    }
}
#[cfg(feature = "json")]
impl cfg_target_family_info {
    pub fn to_json(&self) -> serde_json::Value {
        serde_json::json!({
            "unix": self.unix,
            "windows": self.windows,
            "wasm": self.wasm,
        })
    }
}
// [ANCHOR ENDED] CONST-TO-STRUCT.PY //