Re-export iced_sctk when build with wayland feature

This commit is contained in:
Ian Douglas Scott 2023-01-18 15:13:03 -08:00 committed by Jeremy Soller
parent db2e6c236d
commit cd19bbf37a
2 changed files with 7 additions and 1 deletions

View file

@ -10,7 +10,7 @@ name = "cosmic"
default = ["softbuffer", "winit", "tokio"]
debug = ["iced/debug"]
softbuffer = ["iced/softbuffer", "iced_softbuffer"]
wayland = ["iced/wayland", "iced/glow"]
wayland = ["iced/wayland", "iced/glow", "iced_sctk"]
wgpu = ["iced/wgpu", "iced_wgpu"]
tokio = ["dep:tokio", "iced/tokio"]
winit = ["iced/winit", "iced_winit"]
@ -52,6 +52,10 @@ optional = true
[dependencies.iced_style]
path = "iced/style"
[dependencies.iced_sctk]
path = "iced/sctk"
optional = true
[dependencies.iced_winit]
path = "iced/winit"
optional = true

View file

@ -6,6 +6,8 @@
pub use iced;
pub use iced_lazy;
pub use iced_native;
#[cfg(feature = "wayland")]
pub use iced_sctk;
pub use iced_style;
#[cfg(feature = "winit")]
pub use iced_winit;