fix: absorb libcosmic theme-v2 API + reqwest stream feature

Leyoda 2026 – GPLv3
This commit is contained in:
Lionel DARNIS 2026-07-03 14:04:49 +02:00
parent f93673c6f4
commit e87a7f214a
5 changed files with 639 additions and 154 deletions

View file

@ -17,7 +17,10 @@ regex = "1"
ron = "0.11"
serde = { version = "1", features = ["serde_derive"] }
shlex = "1"
tokio = { version = "1", features = ["sync"] }
tokio = { version = "1", features = ["sync", "rt", "macros", "time"] }
# HTTP client for Modjo AI integration
reqwest = { version = "0.12", features = ["json", "stream"], optional = true }
serde_json = { version = "1", optional = true }
# CLI arguments
clap_lex = "0.7"
# Internationalization
@ -62,6 +65,7 @@ dbus-config = ["cosmic/dbus-config"]
wgpu = ["cosmic/wgpu", "cosmic-files/wgpu"]
wayland = ["cosmic/wayland", "cosmic-files/wayland"]
password_manager = ["secret-service", "thiserror", "secstr"]
modjo = ["dep:reqwest", "dep:serde_json"]
[profile.release-with-debug]
inherits = "release"