gitpoulpi-git2-backend 1.4.0

GitBackend implementation over libgit2 (git2 crate), decorating gitpoulpi-cli-backend for operations git2 doesn't support natively.
Documentation
1
2
3
4
5
6
7
8
9
fn main() {
    // libgit2-sys's Windows build uses CryptoAPI (hashing/RNG) and the
    // registry/security APIs, but doesn't always emit the advapi32 link
    // directive itself on MSVC -- without this the final link fails with
    // unresolved externals like CryptAcquireContextA / RegOpenKeyExW.
    if cfg!(windows) {
        println!("cargo:rustc-link-lib=dylib=advapi32");
    }
}