From ea84fed47c4a7b228f0388512e97103e127b3716 Mon Sep 17 00:00:00 2001 From: Sophie Herold Date: Wed, 15 May 2024 13:14:40 +0200 Subject: [PATCH] cargo: Follow rust style guide --- Cargo.toml | 42 ++++++++++++------------------------------ 1 file changed, 12 insertions(+), 30 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index caa308a..1450f00 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,46 +14,28 @@ disable-glycin-sandbox = [] x11 = ["ashpd/gtk4_x11"] [dependencies] -glycin = { version = "1.0.2", git = "https://gitlab.gnome.org/sophie-h/glycin" } +adw = { package = "libadwaita", version = "0.6.0", features = ["v1_5"] } anyhow = { version = "1.0.66", features = ["backtrace"] } arc-swap = "1.6.0" +ashpd = { version = "0.8.0", features = ["gtk4_wayland"] } async-channel = "2.1.0" +cairo-rs = { version = "*", features = ["pdf"] } env_logger = "0.11.0" futures-channel = "0.3.25" futures-lite = "2.1.0" +gettext-rs = { version = "0.7.0", features = ["gettext-system"] } +gettext-sys = { version = "0.21.3", features = ["gettext-system"] } +gio = { version = "0.19.0", features = ["v2_74"] } +glycin = { version = "1.0.2", git = "https://gitlab.gnome.org/sophie-h/glycin" } +gtk = { package = "gtk4", version = "0.8.0", features = [ + "v4_14", + "xml_validation", +] } gvdb-macros = "0.1.6" indexmap = "2.0.0" kamadak-exif = "0.5.5" libgweather = "4.4.0" log = "0.4.17" once_cell = "1.16.0" -url = "2.3.1" strum = { version = "0.26.2", features = ["derive"] } -cairo-rs = { version = "*", features = ["pdf"] } - -[dependencies.ashpd] -version = "0.8.0" -features = ["gtk4_wayland"] - -[dependencies.gtk] -package = "gtk4" -version = "0.8.0" -features = ["v4_14", "xml_validation"] - -[dependencies.gio] -package = "gio" -version = "0.19.0" -features = ["v2_74"] - -[dependencies.adw] -package = "libadwaita" -version = "0.6.0" -features = ["v1_5"] - -[dependencies.gettext-rs] -version = "0.7.0" -features = ["gettext-system"] - -[dependencies.gettext-sys] -version = "0.21.3" -features = ["gettext-system"] +url = "2.3.1"