From e2d037a691a70f4c814f64ca1ca80292c323b8b7 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Thu, 11 Sep 2025 16:29:49 -0400 Subject: [PATCH] fix(libcosmic): about feature --- Cargo.toml | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index f00d96a..8174f65 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,7 +48,7 @@ xdg = { version = "3.0", optional = true } # https://github.com/ebassi/xdg-mime-rs/pull/31 xdg-mime = { git = "https://github.com/ellieplayswow/xdg-mime-rs", branch = "feature/get-same-as" } # Compression -bzip2 = { version = "0.6", optional = true } #TODO: replace with pure Rust crate +bzip2 = { version = "0.6", optional = true } #TODO: replace with pure Rust crate flate2 = "1.1" tar = "0.4.44" lzma-rust2 = { version = "0.13", optional = true } @@ -84,7 +84,15 @@ optional = true git = "https://github.com/pop-os/libcosmic.git" default-features = false #TODO: a11y feature crashes -features = ["autosize", "dbus-config", "multi-window", "tokio", "winit", "surface-message"] +features = [ + "about", + "autosize", + "dbus-config", + "multi-window", + "tokio", + "winit", + "surface-message", +] [features] default = [ @@ -98,12 +106,7 @@ default = [ "wayland", ] dbus-config = ["libcosmic/dbus-config"] -desktop = [ - "libcosmic/desktop", - "libcosmic/about", - "dep:cosmic-mime-apps", - "dep:xdg", -] +desktop = ["libcosmic/desktop", "dep:cosmic-mime-apps", "dep:xdg"] desktop-applet = [] gvfs = ["dep:gio", "dep:glib"] io-uring = ["compio/io-uring", "dep:io-uring"]