From e672ef457a78c045d622e27eed44db4221619530 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Sun, 4 Jun 2023 14:12:41 -0400 Subject: [PATCH] Fix compilation with specified minimal versions Verified with `cargo +nightly test -Zminimal-versions`. --- Cargo.toml | 2 +- libgit2-sys/Cargo.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index a151754f9d..1731a162ab 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,7 +23,7 @@ log = "0.4.8" libgit2-sys = { path = "libgit2-sys", version = "0.15.2" } [target."cfg(all(unix, not(target_os = \"macos\")))".dependencies] -openssl-sys = { version = "0.9.0", optional = true } +openssl-sys = { version = "0.9.45", optional = true } openssl-probe = { version = "0.1", optional = true } [dev-dependencies] diff --git a/libgit2-sys/Cargo.toml b/libgit2-sys/Cargo.toml index 6b0e261707..0080c5c09f 100644 --- a/libgit2-sys/Cargo.toml +++ b/libgit2-sys/Cargo.toml @@ -26,11 +26,11 @@ libssh2-sys = { version = "0.3.0", optional = true } libz-sys = { version = "1.1.0", default-features = false, features = ["libc"] } [build-dependencies] -pkg-config = "0.3.7" +pkg-config = "0.3.15" cc = { version = "1.0.43", features = ['parallel'] } [target.'cfg(unix)'.dependencies] -openssl-sys = { version = "0.9", optional = true } +openssl-sys = { version = "0.9.45", optional = true } [features] ssh = ["libssh2-sys"]