1
0
mirror of https://github.com/sharkdp/bat synced 2026-08-07 19:31:42 +00:00

Move paging support behind a feature

This commit is contained in:
David Tolnay
2020-03-30 10:36:26 -07:00
committed by David Peter
parent 4e11abdf9b
commit 014d754588
5 changed files with 25 additions and 8 deletions
+3 -1
View File
@@ -26,9 +26,11 @@ application = [
"git",
"lazy_static",
"liquid",
"paging",
"wild",
]
git = ["git2"] # Support indicating git modifications
paging = ["shell-words"] # Support applying a pager on the output
[dependencies]
atty = { version = "0.2.14", optional = true }
@@ -40,7 +42,7 @@ lazy_static = { version = "1.4", optional = true }
wild = { version = "2.0", optional = true }
content_inspector = "0.2.4"
encoding = "0.2"
shell-words = "0.1.0"
shell-words = { version = "0.1.0", optional = true }
unicode-width = "0.1.7"
globset = "0.4"