rsinfo 0.1.3

Add `vergen` to your [build-dependencies], then get all build info in single struct.
Documentation
pub const UNWIND: bool = cfg!(panic="unwind");
pub const ABORT:  bool = cfg!(panic="abort");

// [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_panic_info {
    pub unwind: bool,
    pub abort: bool,
}
pub const ALL_INFO: cfg_panic_info = all_info();
pub const fn all_info() -> cfg_panic_info {
    cfg_panic_info {
        unwind: UNWIND,
        abort: ABORT,
    }
}
#[cfg(feature = "json")]
impl cfg_panic_info {
    pub fn to_json(&self) -> serde_json::Value {
        serde_json::json!({
            "unwind": self.unwind,
            "abort": self.abort,
        })
    }
}
// [ANCHOR ENDED] CONST-TO-STRUCT.PY //