From d015fa9bbee48cc67a61621d9bba237caf39bf1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C3=A9vin=20Commaille?= Date: Sun, 29 Oct 2023 11:26:23 +0100 Subject: [PATCH] cargo: Group dependencies from gtk-rs and their dependents Should make it easier to know which dependencies to update when gtk-rs has new releases. --- Cargo.toml | 34 +++++++++++----------------------- 1 file changed, 11 insertions(+), 23 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 8f3f8467..582eae82 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -33,12 +33,6 @@ futures-channel = "0.3" futures-util = "0.3" geo-uri = "0.2" gettext-rs = { version = "0.7", features = ["gettext-system"] } -gst = { version = "0.21", package = "gstreamer" } -gst_base = { version = "0.21", package = "gstreamer-base" } -gst_gtk = { version = "0.11", package = "gst-plugin-gtk4" } -gst_pbutils = { version = "0.21", package = "gstreamer-pbutils" } -gst_play = { version = "0.21", package = "gstreamer-play" } -gst_video = { version = "0.21", package = "gstreamer-video" } html-escape = "0.2" html2pango = "0.6" html5gum = "0.5" @@ -68,15 +62,17 @@ tracing = "0.1" tracing-subscriber = { version = "0.3", features = ["env-filter"] } url = "2" -[dependencies.adw] -package = "libadwaita" -version = "0.5" -features = ["v1_4"] - -[dependencies.gtk] -package = "gtk4" -version = "0.7" -features = ["v4_10"] +# gtk-rs project and dependents. These usually need to be updated together. +adw = { package = "libadwaita", version = "0.5", features = ["v1_4"] } +gst = { version = "0.21", package = "gstreamer" } +gst_base = { version = "0.21", package = "gstreamer-base" } +gst_gtk = { version = "0.11", package = "gst-plugin-gtk4" } +gst_pbutils = { version = "0.21", package = "gstreamer-pbutils" } +gst_play = { version = "0.21", package = "gstreamer-play" } +gst_video = { version = "0.21", package = "gstreamer-video" } +gtk = { package = "gtk4", version = "0.7", features = ["v4_10"] } +shumate = { package = "libshumate", version = "0.4" } +sourceview = { package = "sourceview5", version = "0.7" } [dependencies.matrix-sdk] git = "https://github.com/zecakeh/matrix-rust-sdk.git" @@ -111,11 +107,3 @@ features = [ "compat-get-3pids", "html", ] - -[dependencies.shumate] -package = "libshumate" -version = "0.4" - -[dependencies.sourceview] -package = "sourceview5" -version = "0.7"