Move git changes support behind a feature

This commit is contained in:
David Tolnay authored and David Peter committed 2020-03-31 09:27:56 +02:00
1 parent 570805bc98
commit 4e11abdf9b
6 files changed
+31 -14

No files matched your search

+3
View File
@@ -23,10 +23,12 @@ application = [
"atty",
"clap",
"dirs",
"git",
"lazy_static",
"liquid",
"wild",
]
git = ["git2"] # Support indicating git modifications
[dependencies]
atty = { version = "0.2.14", optional = true }
@@ -44,6 +46,7 @@ globset = "0.4"
[dependencies.git2]
version = "0.13"
optional = true
default-features = false
[dependencies.syntect]