From 45f3999f9cc3841c792be99abdd1d67649d52058 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Fri, 18 Oct 2024 10:59:25 -0400 Subject: [PATCH] refactor: include winit in the applet feature --- Cargo.toml | 3 ++- examples/applet/Cargo.toml | 12 +----------- 2 files changed, 3 insertions(+), 12 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5e7cb83..18a9d5f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,13 +17,14 @@ autosize = [] applet = [ "a11y", "autosize", + "winit", "wayland", "tokio", "cosmic-panel-config", "ron", "multi-window", ] -applet-token = [] +applet-token = ["applet"] # Use the cosmic-settings-daemon for config handling dbus-config = ["cosmic-config/dbus", "dep:zbus", "cosmic-settings-daemon"] # Debug features diff --git a/examples/applet/Cargo.toml b/examples/applet/Cargo.toml index ba4ce66..0a9f2b3 100644 --- a/examples/applet/Cargo.toml +++ b/examples/applet/Cargo.toml @@ -15,14 +15,4 @@ log = "0.4.17" [dependencies.libcosmic] git = "https://github.com/pop-os/libcosmic" default-features = false -features = [ - "applet", - "applet-token", - "multi-window", - "tokio", - "wayland", - "winit", - "desktop", - "dbus-config", - "image", -] +features = ["applet-token"]