This commit is contained in:
2025-09-30 23:51:12 +03:00
parent 9b1dc672a9
commit 6240208c17
4 changed files with 633 additions and 215 deletions
+7 -4
View File
@@ -42,7 +42,9 @@ spmc = "0.3.0"
thread-priority = "1.2.0"
# Optional dependencies regulated by features
web-view = { git = "https://github.com/Boscop/web-view", features = [], optional = true }
# web-view = { git = "https://github.com/Boscop/web-view", features = [], optional = true }
gtk = { package = "gtk4", version = "0.9.6", features = ["v4_16"], optional = true }
adw = { version = "0.7.2", package = "libadwaita", features = ["v1_5"], optional = true }
tinyfiledialogs = { version = "3.9.1", optional = true }
open = { version = "5.3.0", optional = true }
@@ -69,7 +71,8 @@ ProductName="ALFIS"
FileDescription="Alternative Free Identity System"
[features]
webgui = ["web-view", "tinyfiledialogs", "open"]
edge = ["webgui", "web-view/edge"]
gui = ["gtk", "adw"]
# webgui = ["web-view", "tinyfiledialogs", "open"]
# edge = ["webgui", "web-view/edge"]
doh = ["ureq"]
default = ["webgui", "doh"]
default = ["gui", "doh"]