1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-04 19:01:44 +00:00

Move git changes support behind a feature

This commit is contained in:
David Tolnay
2020-03-30 10:37:29 -07:00
committed by David Peter
parent 570805bc98
commit 4e11abdf9b
6 changed files with 31 additions and 14 deletions
+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]