From 049763cc85b19c4be27786d84771757a4c14c975 Mon Sep 17 00:00:00 2001 From: Vladislav Nepogodin Date: Fri, 17 Mar 2023 04:09:55 +0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=A7=B9=20disable=20unused=20features=20to?= =?UTF-8?q?=20decrease=20binary=20size?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Cargo.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 9885daf..c6bdb1d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -6,19 +6,19 @@ license = "GPLv3" edition = "2021" [dependencies] -alpm = "2.2.1" -alpm-utils = "2.0.0" +alpm = { default-features = false, version = "2.2.1" } +alpm-utils = { features = ["conf"], default-features = false, version = "2.0.0" } pacmanconf = "2.0.0" subprocess = "0.2.9" -once_cell = "1.17.1" -gettext-rs = { version = "0.7", features = ["gettext-system"] } -gtk = { version = "0.17.0", features = ["v3_24_30"] } -gio = { version = "0.17.3", features = ["v2_72"] } +once_cell = { default-features = false, version = "1.17.1" } +gettext-rs = { version = "0.7", default-features = false } +gtk = { version = "0.17.0", default-features = false } +gio = { version = "0.17.3", default-features = false } gdk = "0.17.0" gdk-pixbuf = "0.17.0" -glib = "0.17.3" -serde = { version = "1.0.155", features = ["derive"] } +glib = { default-features = false, version = "0.17.3" } +serde = { version = "1.0.155", default-features = false } serde_json = "1.0.94" reqwest = { version = "0.11.14", features = ["blocking"] }