Browse Source

fix(cargo): add vendored-libgit2 feature to git2 dependency

This builds libgit2 into the binary to avoid dependency problems on
systems that don't have the required version of libgit2 yet.

Signed-off-by: Sandro-Alessio Gierens <sandro@gierens.de>
Sandro-Alessio Gierens 2 years ago
parent
commit
c7d2e2bd7d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      Cargo.toml

+ 1 - 0
Cargo.toml

@@ -62,6 +62,7 @@ features = ["format"]
 version = "0.18"
 optional = true
 default-features = false
+features = ["vendored-libgit2"]
 
 [target.'cfg(unix)'.dependencies]
 uzers = "0.11.2"