瀏覽代碼

Merge pull request #192 from gierens/vendored-libgit2

Add vendored-libgit2 feature to git2 dependency
Christina Sørensen 2 年之前
父節點
當前提交
721eddfcc3
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      Cargo.toml

+ 4 - 0
Cargo.toml

@@ -62,6 +62,10 @@ features = ["format"]
 version = "0.18"
 optional = true
 default-features = false
+# This builds libgit2 into the binary to avoid dependency problems on systems
+# that don't have the required version of libgit2 yet.
+# See: https://github.com/eza-community/eza/pull/192
+features = ["vendored-libgit2"]
 
 [target.'cfg(unix)'.dependencies]
 uzers = "0.11.2"