Compare commits

..

No commits in common. "2c2afb4b33284c329369eef5e8f9c378407bd129" and "4446aa22d76312f78e75818a33cda9521f627c1b" have entirely different histories.

4 changed files with 17 additions and 7 deletions

13
Cargo.lock generated
View file

@ -924,6 +924,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72a2903cd7736441aac9df9d7688bd0ce48edccaadf181c3b90be801e81d3d86"
dependencies = [
"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]]
@ -1110,4 +1122,5 @@ dependencies = [
"gtk4",
"libadwaita",
"relm4",
"tokio",
]

View file

@ -17,4 +17,7 @@ glib-build-tools = "0.21.0"
async-sqlite = { version = "0.5.4", default-features = false }
gtk4 = { version = "0.10.3", features = ["v4_20"] }
libadwaita = { version = "0.8.1", features = ["v1_8"] }
relm4 = { version = "0.10.1", features = ["gnome_48", "libadwaita"] }
relm4 = { version = "0.10.1", features = ["gnome_48"] }
# 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"] }

View file

@ -40,9 +40,6 @@ impl Component for FilmGrid {
set_propagate_natural_height: true,
#[name="grid"]
// TODO: Replace this with a GridView.
// Once this is done we can replace the factory with a TypedGridView for better performance
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
FlowBox {
set_orientation: Orientation::Horizontal,
set_homogeneous: true,

View file

@ -40,9 +40,6 @@ impl Component for SeriesGrid {
set_propagate_natural_height: true,
#[name="grid"]
// TODO: Replace this with a GridView.
// Once this is done we can replace the factory with a TypedGridView for better performance
// (i.e. lazy item rendering) if needed. This should also enable less cursed sorting.
FlowBox {
set_orientation: Orientation::Horizontal,
set_homogeneous: true,