fix(applet): button & icon API refactor w/ applet example
This commit is contained in:
parent
485945591b
commit
69cd9a3bfa
5 changed files with 166 additions and 20 deletions
15
Cargo.toml
15
Cargo.toml
|
|
@ -20,7 +20,13 @@ smol = ["iced/smol"]
|
|||
# Tokio async runtime
|
||||
tokio = ["dep:tokio", "ashpd/tokio", "iced/tokio"]
|
||||
# Wayland window support
|
||||
wayland = ["ashpd?/wayland", "iced_runtime/wayland", "iced/wayland", "iced_sctk", "sctk"]
|
||||
wayland = [
|
||||
"ashpd?/wayland",
|
||||
"iced_runtime/wayland",
|
||||
"iced/wayland",
|
||||
"iced_sctk",
|
||||
"sctk",
|
||||
]
|
||||
# Render with wgpu
|
||||
wgpu = ["iced/wgpu", "iced_wgpu"]
|
||||
# X11 window support via winit
|
||||
|
|
@ -39,7 +45,7 @@ derive_setters = "0.1.5"
|
|||
lazy_static = "1.4.0"
|
||||
palette = "0.7.3"
|
||||
tokio = { version = "1.24.2", optional = true }
|
||||
sctk = { package = "smithay-client-toolkit", git = "https://github.com/smithay/client-toolkit", optional = true, rev = "c9940f4"}
|
||||
sctk = { package = "smithay-client-toolkit", git = "https://github.com/smithay/client-toolkit", optional = true, rev = "c9940f4" }
|
||||
slotmap = "1.0.6"
|
||||
fraction = "0.13.0"
|
||||
cosmic-config = { path = "cosmic-config" }
|
||||
|
|
@ -116,10 +122,7 @@ members = [
|
|||
"cosmic-theme",
|
||||
"examples/*",
|
||||
]
|
||||
exclude = [
|
||||
"examples/design-demo",
|
||||
"iced",
|
||||
]
|
||||
exclude = ["examples/design-demo", "iced"]
|
||||
|
||||
[patch."https://github.com/pop-os/libcosmic"]
|
||||
libcosmic = { path = "./" }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue