From 9957c08a122017c1f4d7df5062b30c67abf46602 Mon Sep 17 00:00:00 2001 From: Ashley Wulber Date: Tue, 13 Dec 2022 16:15:36 -0500 Subject: [PATCH] update: iced & some deps --- Cargo.toml | 11 +++++++++-- examples/cosmic-sctk/Cargo.toml | 2 +- iced | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 368fe3d..691a5db 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -9,8 +9,9 @@ name = "cosmic" [features] default = ["wayland"] debug = ["iced/debug"] -wayland = ["iced/wayland"] -wgpu = ["iced/wgpu"] +wayland = ["iced/wayland", "iced_glow"] +wgpu = ["iced/wgpu", "iced_wgpu"] +tokio = ["iced/tokio"] winit = ["iced/winit", "iced_winit"] applet = ["cosmic-panel-config", "sctk"] @@ -49,6 +50,11 @@ optional = true [dependencies.iced_wgpu] path = "iced/wgpu" +optional = true + +[dependencies.iced_glow] +path = "iced/glow" +optional = true [workspace] members = [ @@ -57,3 +63,4 @@ members = [ exclude = [ "iced", ] + diff --git a/examples/cosmic-sctk/Cargo.toml b/examples/cosmic-sctk/Cargo.toml index a599be5..0d2d8d8 100644 --- a/examples/cosmic-sctk/Cargo.toml +++ b/examples/cosmic-sctk/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" publish = false [dependencies] -libcosmic = { path = "../..", default-features = false, features = ["debug", "wayland"] } +libcosmic = { path = "../.." } diff --git a/iced b/iced index 68d929f..a76b164 160000 --- a/iced +++ b/iced @@ -1 +1 @@ -Subproject commit 68d929f0e8b5e53d970c6dce39c9bd9e8433a534 +Subproject commit a76b1647fc5b3879efbc32b220c152a81eacd0e3