diff --git a/Cargo.toml b/Cargo.toml index db233a5a..e9aed0cf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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 diff --git a/src/lib.rs b/src/lib.rs index fa454d44..b9c450dd 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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;