mirror of
https://github.com/sharkdp/bat.git
synced 2025-10-30 06:33:59 +00:00
Expose new theme selection in CLI
This commit is contained in:
@@ -20,6 +20,7 @@ application = [
|
||||
"bugreport",
|
||||
"build-assets",
|
||||
"git",
|
||||
"detect-color-scheme",
|
||||
"minimal-application",
|
||||
]
|
||||
# Mainly for developers that want to iterate quickly
|
||||
@@ -35,6 +36,7 @@ git = ["git2"] # Support indicating git modifications
|
||||
paging = ["shell-words", "grep-cli"] # Support applying a pager on the output
|
||||
lessopen = ["run_script", "os_str_bytes"] # Support $LESSOPEN preprocessor
|
||||
build-assets = ["syntect/yaml-load", "syntect/plist-load", "regex", "walkdir"]
|
||||
detect-color-scheme = ["dep:terminal-colorsaurus"]
|
||||
|
||||
# You need to use one of these if you depend on bat as a library:
|
||||
regex-onig = ["syntect/regex-onig"] # Use the "oniguruma" regex engine
|
||||
@@ -68,6 +70,7 @@ bytesize = { version = "1.3.0" }
|
||||
encoding_rs = "0.8.34"
|
||||
os_str_bytes = { version = "~7.0", optional = true }
|
||||
run_script = { version = "^0.10.1", optional = true}
|
||||
terminal-colorsaurus = { version = "0.4", optional = true }
|
||||
|
||||
[dependencies.git2]
|
||||
version = "0.18"
|
||||
|
||||
Reference in New Issue
Block a user