1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-11-01 07:32:01 +00:00

Move actual detection into library

This commit is contained in:
Tau Gärtli
2024-04-16 14:43:31 +02:00
parent 14ce668a1d
commit ff81cfd584
3 changed files with 95 additions and 84 deletions

View File

@@ -13,14 +13,13 @@ edition = '2021'
rust-version = "1.70"
[features]
default = ["application"]
default = ["application", "detect-color-scheme"]
# Feature required for bat the application. Should be disabled when depending on
# bat as a library.
application = [
"bugreport",
"build-assets",
"git",
"detect-color-scheme",
"minimal-application",
]
# Mainly for developers that want to iterate quickly