Re-export iced_sctk when build with wayland feature
This commit is contained in:
parent
db2e6c236d
commit
cd19bbf37a
2 changed files with 7 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ name = "cosmic"
|
||||||
default = ["softbuffer", "winit", "tokio"]
|
default = ["softbuffer", "winit", "tokio"]
|
||||||
debug = ["iced/debug"]
|
debug = ["iced/debug"]
|
||||||
softbuffer = ["iced/softbuffer", "iced_softbuffer"]
|
softbuffer = ["iced/softbuffer", "iced_softbuffer"]
|
||||||
wayland = ["iced/wayland", "iced/glow"]
|
wayland = ["iced/wayland", "iced/glow", "iced_sctk"]
|
||||||
wgpu = ["iced/wgpu", "iced_wgpu"]
|
wgpu = ["iced/wgpu", "iced_wgpu"]
|
||||||
tokio = ["dep:tokio", "iced/tokio"]
|
tokio = ["dep:tokio", "iced/tokio"]
|
||||||
winit = ["iced/winit", "iced_winit"]
|
winit = ["iced/winit", "iced_winit"]
|
||||||
|
|
@ -52,6 +52,10 @@ optional = true
|
||||||
[dependencies.iced_style]
|
[dependencies.iced_style]
|
||||||
path = "iced/style"
|
path = "iced/style"
|
||||||
|
|
||||||
|
[dependencies.iced_sctk]
|
||||||
|
path = "iced/sctk"
|
||||||
|
optional = true
|
||||||
|
|
||||||
[dependencies.iced_winit]
|
[dependencies.iced_winit]
|
||||||
path = "iced/winit"
|
path = "iced/winit"
|
||||||
optional = true
|
optional = true
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,8 @@
|
||||||
pub use iced;
|
pub use iced;
|
||||||
pub use iced_lazy;
|
pub use iced_lazy;
|
||||||
pub use iced_native;
|
pub use iced_native;
|
||||||
|
#[cfg(feature = "wayland")]
|
||||||
|
pub use iced_sctk;
|
||||||
pub use iced_style;
|
pub use iced_style;
|
||||||
#[cfg(feature = "winit")]
|
#[cfg(feature = "winit")]
|
||||||
pub use iced_winit;
|
pub use iced_winit;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue