refactor: always use lazy feature of iced
This commit is contained in:
parent
7a02339be6
commit
731f420075
3 changed files with 4 additions and 5 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -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"] }
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue