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"
|
name = "cosmic"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["tiny_skia", "wayland", "applet", "tokio", "a11y", "lazy"]
|
default = ["tiny_skia", "wayland", "applet", "tokio", "a11y"]
|
||||||
debug = ["iced/debug"]
|
debug = ["iced/debug"]
|
||||||
lazy = ["iced/lazy"]
|
|
||||||
a11y = ["iced/a11y", "iced_accessibility"]
|
a11y = ["iced/a11y", "iced_accessibility"]
|
||||||
tiny_skia = ["iced/tiny-skia", "iced_tiny_skia"]
|
tiny_skia = ["iced/tiny-skia", "iced_tiny_skia"]
|
||||||
wayland = ["iced/wayland", "iced_sctk"]
|
wayland = ["iced/wayland", "iced_sctk"]
|
||||||
|
|
@ -40,7 +39,7 @@ git = "https://github.com/pop-os/cosmic-theme.git"
|
||||||
[dependencies.iced]
|
[dependencies.iced]
|
||||||
path = "iced"
|
path = "iced"
|
||||||
default-features = false
|
default-features = false
|
||||||
features = ["image", "svg"]
|
features = ["image", "svg", "lazy"]
|
||||||
|
|
||||||
[dependencies.iced_core]
|
[dependencies.iced_core]
|
||||||
path = "iced/core"
|
path = "iced/core"
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[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]
|
[dependencies]
|
||||||
apply = "0.3.0"
|
apply = "0.3.0"
|
||||||
fraction = "0.13.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"
|
once_cell = "1.15"
|
||||||
slotmap = "1.0.6"
|
slotmap = "1.0.6"
|
||||||
env_logger = "0.10"
|
env_logger = "0.10"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue