From 4fb60963e811e82e8c4676dc4a2162e901bb34e2 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Tue, 15 Feb 2022 10:20:29 -0800 Subject: [PATCH] Bump libgit2 in version probe and readme --- 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()); }