Skip to content

Commit af6fc41

Browse files
authored
Bump libgit2 in version probe and readme (#808)
1 parent 509fe58 commit af6fc41

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ stable release as well.
1616

1717
## Version of libgit2
1818

19-
Currently this library requires libgit2 1.3.0. The source for libgit2 is
19+
Currently this library requires libgit2 1.4.0. The source for libgit2 is
2020
included in the libgit2-sys crate so there's no need to pre-install the libgit2
2121
library, the libgit2-sys crate will figure that and/or build that for you.
2222

Diff for: libgit2-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ fn main() {
1414
let try_to_use_system_libgit2 = !vendored && !zlib_ng_compat;
1515
if try_to_use_system_libgit2 {
1616
let mut cfg = pkg_config::Config::new();
17-
if let Ok(lib) = cfg.atleast_version("1.3.0").probe("libgit2") {
17+
if let Ok(lib) = cfg.atleast_version("1.4.0").probe("libgit2") {
1818
for include in &lib.include_paths {
1919
println!("cargo:root={}", include.display());
2020
}

0 commit comments

Comments
 (0)