Use iced_softbuffer in cosmic example
This commit is contained in:
parent
07f07109b7
commit
9607d213a1
2 changed files with 6 additions and 2 deletions
|
|
@ -9,6 +9,7 @@ name = "cosmic"
|
||||||
[features]
|
[features]
|
||||||
default = ["wayland"]
|
default = ["wayland"]
|
||||||
debug = ["iced/debug"]
|
debug = ["iced/debug"]
|
||||||
|
softbuffer = ["iced/softbuffer", "iced_softbuffer"]
|
||||||
wayland = ["iced/wayland", "iced_glow"]
|
wayland = ["iced/wayland", "iced_glow"]
|
||||||
wgpu = ["iced/wgpu", "iced_wgpu"]
|
wgpu = ["iced/wgpu", "iced_wgpu"]
|
||||||
tokio = ["iced/tokio"]
|
tokio = ["iced/tokio"]
|
||||||
|
|
@ -41,6 +42,10 @@ path = "iced/lazy"
|
||||||
[dependencies.iced_native]
|
[dependencies.iced_native]
|
||||||
path = "iced/native"
|
path = "iced/native"
|
||||||
|
|
||||||
|
[dependencies.iced_softbuffer]
|
||||||
|
path = "iced/softbuffer"
|
||||||
|
optional = true
|
||||||
|
|
||||||
[dependencies.iced_style]
|
[dependencies.iced_style]
|
||||||
path = "iced/style"
|
path = "iced/style"
|
||||||
|
|
||||||
|
|
@ -63,4 +68,3 @@ members = [
|
||||||
exclude = [
|
exclude = [
|
||||||
"iced",
|
"iced",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,4 +6,4 @@ edition = "2021"
|
||||||
publish = false
|
publish = false
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
libcosmic = { path = "../..", default-features = false, features = ["debug", "wgpu", "winit"] }
|
libcosmic = { path = "../..", default-features = false, features = ["debug", "softbuffer", "winit"] }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue