diff --git a/Cargo.toml b/Cargo.toml index 11ceeb53..1b0b943b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -240,3 +240,7 @@ ureq = { version = "2", features = ["json"] } mockito = { workspace = true } tempfile = { workspace = true } bigdecimal = { workspace = true } + +# Force libgit2-sys to use system libgit2 +[patch.crates-io] +libgit2-sys = { git = "https://github.com/rust-lang/git2-rs", branch = "main" }