feat: feature gates

This commit is contained in:
Ashley Wulber 2024-10-23 11:14:38 -04:00 committed by Ashley Wulber
parent 3cadfec2fb
commit 2a5f48bb13
8 changed files with 84 additions and 45 deletions

View file

@ -76,6 +76,10 @@ version = "0.15.0"
features = ["fluent-system", "desktop-requester"]
[features]
default = []
default = ["wayland", "dbus-config", "single-instance", "a11y", "wgpu"]
wayland = ["libcosmic/wayland"]
dbus-config = ["libcosmic/dbus-config"]
single-instance = ["libcosmic/single-instance"]
a11y = ["libcosmic/a11y"]
wgpu = ["libcosmic/wgpu"]
test = []