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:
committed by
David Peter
parent
570805bc98
commit
4e11abdf9b
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user