From 342d157a50ae1ba518ae552b5c1a5deb0204a27b Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Thu, 14 Apr 2022 15:06:37 -0700 Subject: [PATCH] Update git2 to 0.14 (#1733) git2-rs recently updated major versions due to libgit2 doing the same. Bump the version used in sqlx accordingly, to allow users of the new git2 to use git2::Oid with sqlx. --- sqlx-core/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-core/Cargo.toml b/sqlx-core/Cargo.toml index 0e7ccb5bc6..e48ef923be 100644 --- a/sqlx-core/Cargo.toml +++ b/sqlx-core/Cargo.toml @@ -164,7 +164,7 @@ webpki-roots = { version = "0.21.1", optional = true } whoami = { version = "1.2.1", optional = true } stringprep = "0.1.2" bstr = { version = "0.2.17", default-features = false, features = ["std"], optional = true } -git2 = { version = "0.13.25", default-features = false, optional = true } +git2 = { version = "0.14", default-features = false, optional = true } hashlink = "0.7.0" # NOTE: *must* remain below 1.7.0 to allow users to avoid the `ahash` cyclic dependency problem by pinning the version # https://github.com/tkaitchuck/aHash/issues/95#issuecomment-874150078