From af6fc41c2918c07d2c898c5630b552c2525c9951 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 15 Feb 2022 10:35:39 -0800 Subject: [PATCH] Bump libgit2 in version probe and readme (#808) --- README.md | 2 +- libgit2-sys/build.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 998c5e5fd2..6ee6c3c179 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,7 @@ stable release as well. ## Version of libgit2 -Currently this library requires libgit2 1.3.0. The source for libgit2 is +Currently this library requires libgit2 1.4.0. The source for libgit2 is included in the libgit2-sys crate so there's no need to pre-install the libgit2 library, the libgit2-sys crate will figure that and/or build that for you. diff --git a/libgit2-sys/build.rs b/libgit2-sys/build.rs index 41b6041721..2752a5bc97 100644 --- a/libgit2-sys/build.rs +++ b/libgit2-sys/build.rs @@ -14,7 +14,7 @@ fn main() { let try_to_use_system_libgit2 = !vendored && !zlib_ng_compat; if try_to_use_system_libgit2 { let mut cfg = pkg_config::Config::new(); - if let Ok(lib) = cfg.atleast_version("1.3.0").probe("libgit2") { + if let Ok(lib) = cfg.atleast_version("1.4.0").probe("libgit2") { for include in &lib.include_paths { println!("cargo:root={}", include.display()); }