Move actual detection into library

This commit is contained in:
Tau Gärtli committed 2024-08-16 14:13:16 +02:00
1 parent 14ce668a1d
commit ff81cfd584
3 files changed
+95 -84

No files matched your search

+1 -2
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