Enable libadwaita feature of Relm4, remove unused direct Tokio dep

This commit is contained in:
Reinout Meliesie 2026-01-22 15:40:32 +01:00
commit 981d971fa9
Signed by: zedfrigg
GPG key ID: 3AFCC06481308BC6
2 changed files with 1 additions and 17 deletions

13
Cargo.lock generated
View file

@ -924,18 +924,6 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86" checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86"
dependencies = [ dependencies = [
"pin-project-lite", "pin-project-lite",
"tokio-macros",
]
[[package]]
name = "tokio-macros"
version = "2.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "af407857209536a95c8e56f8231ef2c2e2aff839b22e07a1ffcbc617e9db9fa5"
dependencies = [
"proc-macro2",
"quote",
"syn",
] ]
[[package]] [[package]]
@ -1122,5 +1110,4 @@ dependencies = [
"gtk4", "gtk4",
"libadwaita", "libadwaita",
"relm4", "relm4",
"tokio",
] ]

View file

@ -17,7 +17,4 @@ glib-build-tools = "0.21.0"
async-sqlite = { version = "0.5.4", default-features = false } async-sqlite = { version = "0.5.4", default-features = false }
gtk4 = { version = "0.10.3", features = ["v4_20"] } gtk4 = { version = "0.10.3", features = ["v4_20"] }
libadwaita = { version = "0.8.1", features = ["v1_8"] } libadwaita = { version = "0.8.1", features = ["v1_8"] }
relm4 = { version = "0.10.1", features = ["gnome_48"] } relm4 = { version = "0.10.1", features = ["gnome_48", "libadwaita"] }
# Tokio as included in Relm4 doesn't have the macros feature enabled.
# Keep version in sync with the one Relm4 uses.
tokio = { version = "1.47.3", features = ["macros", "rt", "rt-multi-thread", "sync"] }