소스 검색

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 년 전
부모
커밋
c7d2e2bd7d
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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"