gitgrip 0.12.1

Multi-repo workflow tool - manage multiple git repositories as one
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
fn main() {
    // Link Windows system libraries required by libgit2-sys
    // These provide security (GetNamedSecurityInfoW) and registry
    // (RegOpenKeyExW, RegQueryValueExW, RegCloseKey) functions
    //
    // Note: Using CARGO_CFG_TARGET_OS because #[cfg()] attributes in build.rs
    // check the HOST platform, not the target platform
    let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap_or_default();
    if target_os == "windows" {
        println!("cargo:rustc-link-lib=advapi32");
    }
}