File tree Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Expand file tree Collapse file tree 4 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ The following steps can be used to update libgit2:
3131 can be helpful for seeing what has changed.
3232 The project has recently started labeling API and ABI breaking changes with labels:
3333 < https://github.com/libgit2/libgit2/pulls?q=is%3Apr+label%3A%22api+breaking%22%2C%22abi+breaking%22+is%3Aclosed >
34+ Alternatively, running ` git diff [PREV_VERSION]..[NEW_VERSION] --ignore-all-space -- include/ ` can provide an overview of changes made to the API.
34354 . Once you have everything functional, publish a PR with the updates.
3536
3637## Release process
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ url = "2.0"
2020bitflags = " 2.1.0"
2121libc = " 0.2"
2222log = " 0.4.8"
23- libgit2-sys = { path = " libgit2-sys" , version = " 0.16.2 " }
23+ libgit2-sys = { path = " libgit2-sys" , version = " 0.17.0 " }
2424
2525[target ."cfg(all(unix, not(target_os = \"macos\")))" .dependencies ]
2626openssl-sys = { version = " 0.9.45" , optional = true }
Original file line number Diff line number Diff line change 11[package ]
22name = " libgit2-sys"
3- version = " 0.16.2 +1.7.2 "
3+ version = " 0.17.0 +1.8.0 "
44authors = [" Josh Triplett <josh@joshtriplett.org>" , " Alex Crichton <alex@alexcrichton.com>" ]
55links = " git2"
66build = " build.rs"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ use std::process::Command;
77/// Tries to use system libgit2 and emits necessary build script instructions.
88fn try_system_libgit2 ( ) -> Result < pkg_config:: Library , pkg_config:: Error > {
99 let mut cfg = pkg_config:: Config :: new ( ) ;
10- match cfg. range_version ( "1.8.0-alpha " .."1.9.0" ) . probe ( "libgit2" ) {
10+ match cfg. range_version ( "1.8.0" .."1.9.0" ) . probe ( "libgit2" ) {
1111 Ok ( lib) => {
1212 for include in & lib. include_paths {
1313 println ! ( "cargo:root={}" , include. display( ) ) ;
You can’t perform that action at this time.
0 commit comments