fix(libcosmic): about feature

This commit is contained in:
Ashley Wulber 2025-09-11 16:29:49 -04:00 committed by Ashley Wulber
parent ca9ffe0d72
commit e2d037a691

View file

@ -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"]