Documentation
1
2
3
4
fn main() {
    let out_path = std::path::PathBuf::from(std::env::var("OUT_DIR").unwrap()).join("regmap.rs");
    let res = regmaps::mkcrate("src/regmap.yaml", out_path);
}