refactor: always use lazy feature of iced

This commit is contained in:
Ashley Wulber 2023-05-10 19:10:42 -04:00
parent 7a02339be6
commit 731f420075
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 4 additions and 5 deletions

View file

@ -7,9 +7,8 @@ edition = "2021"
name = "cosmic"
[features]
default = ["tiny_skia", "wayland", "applet", "tokio", "a11y", "lazy"]
default = ["tiny_skia", "wayland", "applet", "tokio", "a11y"]
debug = ["iced/debug"]
lazy = ["iced/lazy"]
a11y = ["iced/a11y", "iced_accessibility"]
tiny_skia = ["iced/tiny-skia", "iced_tiny_skia"]
wayland = ["iced/wayland", "iced_sctk"]
@ -40,7 +39,7 @@ git = "https://github.com/pop-os/cosmic-theme.git"
[dependencies.iced]
path = "iced"
default-features = false
features = ["image", "svg"]
features = ["image", "svg", "lazy"]
[dependencies.iced_core]
path = "iced/core"

View file

@ -6,4 +6,4 @@ edition = "2021"
publish = false
[dependencies]
libcosmic = { path = "../..", default-features = false, features = ["wayland", "tokio", "tiny_skia", "a11y", "lazy"] }
libcosmic = { path = "../..", default-features = false, features = ["wayland", "tokio", "tiny_skia", "a11y"] }

View file

@ -8,7 +8,7 @@ publish = false
[dependencies]
apply = "0.3.0"
fraction = "0.13.0"
libcosmic = { path = "../..", default-features = false, features = ["debug", "winit_tiny_skia", "a11y", "lazy"] }
libcosmic = { path = "../..", default-features = false, features = ["debug", "winit_tiny_skia", "a11y"] }
once_cell = "1.15"
slotmap = "1.0.6"
env_logger = "0.10"