Skip to content

Commit 5d0cb18

Browse files
committed
Update libgit2 to 1.9.2
1 parent a2b4f0b commit 5d0cb18

File tree

6 files changed

+16
-5
lines changed

6 files changed

+16
-5
lines changed

Cargo.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ url = { version = "2.5.4", optional = true }
2020
bitflags = "2.1.0"
2121
libc = "0.2"
2222
log = "0.4.8"
23-
libgit2-sys = { path = "libgit2-sys", version = "0.18.1" }
23+
libgit2-sys = { path = "libgit2-sys", version = "0.18.3" }
2424

2525
[target."cfg(all(unix, not(target_os = \"macos\")))".dependencies]
2626
openssl-sys = { version = "0.9.45", optional = true }

libgit2-sys/CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,16 @@
11
# Changelog
22

3+
## 0.18.3+1.9.2 - 2025-12-06
4+
[0.18.2...0.18.3](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.18.2+1.9.1...libgit2-sys-0.18.3+1.9.2)
5+
6+
### Changed
7+
- Updated to libgit2 [1.9.2](https://github.com/libgit2/libgit2/releases/tag/v1.9.2)
8+
[#1195](https://github.com/rust-lang/git2-rs/pull/1195)
9+
10+
Note that this release fixes two security issues. However, the Rust bindings do not provide direct support for the affected APIs. In particular:
11+
- The `libgit2-sys` crate does not support building the vendored C library with the `GIT_SSH_EXEC` setting. This will only be an issue if you are binding to a system-provided library built with this setting.
12+
- The `git2-rs` crate does not support custom SSH credentials. However, the `libgit2-sys` crate does export the `git_cred_ssh_custom_new` C-binding. Any projects using the C bindings directly would be affected.
13+
314
## 0.18.2+1.9.1 - 2025-06-21
415
[0.18.1...0.18.2](https://github.com/rust-lang/git2-rs/compare/libgit2-sys-0.18.1+1.9.0...libgit2-sys-0.18.2+1.9.1)
516

libgit2-sys/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "libgit2-sys"
3-
version = "0.18.2+1.9.1"
3+
version = "0.18.3+1.9.2"
44
authors = ["Josh Triplett <[email protected]>", "Alex Crichton <[email protected]>"]
55
links = "git2"
66
build = "build.rs"

libgit2-sys/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use std::process::Command;
77
/// Tries to use system libgit2 and emits necessary build script instructions.
88
fn try_system_libgit2() -> Result<pkg_config::Library, pkg_config::Error> {
99
let mut cfg = pkg_config::Config::new();
10-
match cfg.range_version("1.9.0".."1.10.0").probe("libgit2") {
10+
match cfg.range_version("1.9.2".."1.10.0").probe("libgit2") {
1111
Ok(lib) => {
1212
for include in &lib.include_paths {
1313
println!("cargo:root={}", include.display());

0 commit comments

Comments
 (0)