refactor: migrate the UI to GTK4 with Relm4 and libadwaita

This commit is contained in:
randogoth 2026-10-02 22:32:12 +03:00
parent 517d938c46
commit 7fdcd0d811
11 changed files with 2782 additions and 4765 deletions

View file

@ -2,14 +2,18 @@
name = "carrier"
version = "0.1.0"
edition = "2021"
description = "A minimalist smolmail client built on fumi-core, with an Iced UI"
description = "A minimalist smolmail client built on fumi-core, with a Relm4 UI"
license = "Apache-2.0"
[dependencies]
fumi-core = { path = "../fumi/core" }
iced = { version = "0.13", features = ["tokio", "qr_code"] }
tokio = { version = "1", features = ["rt"] }
gtk = { version = "0.9", package = "gtk4" }
# Relm4 pulls libadwaita in; the direct entry only raises the API level,
# since Cargo unions features and the rows and dialogs used here are 1.5.
libadwaita = { version = "0.7", features = ["v1_5"] }
relm4 = { version = "0.9", features = ["libadwaita"] }
rand_core = { version = "0.6", features = ["getrandom"] }
qrcodegen = "1"
[dev-dependencies]
tempfile = "3"