dependencies

This commit is contained in:
Ashley Wulber 2022-11-14 00:38:57 +01:00
parent 9260ee87e1
commit 49f0f34270
No known key found for this signature in database
GPG key ID: 5216D4F46A90A820
3 changed files with 4 additions and 2 deletions

View file

@ -7,7 +7,7 @@ edition = "2021"
name = "cosmic"
[features]
default = ["wgpu"]
default = ["iced_winit", "wgpu"]
debug = ["iced/debug"]
wayland = ["iced/wayland"]
wgpu = ["iced/wgpu"]
@ -55,6 +55,7 @@ branch = "sctk-cosmic"
[dependencies.iced_winit]
git = "https://github.com/pop-os/iced.git"
branch = "sctk-cosmic"
optional = true
# path = "../iced/winit"
[dependencies.iced_wgpu]

View file

@ -5,7 +5,7 @@ mod window;
use cosmic::{
iced::{sctk_settings::InitialSurface, Application},
iced_native::window::Settings,
iced_winit::command::platform_specific::wayland::window::SctkWindowSettings,
iced_native::command::platform_specific::wayland::window::SctkWindowSettings,
settings,
};
use cosmic_panel_config::PanelSize;

View file

@ -2,6 +2,7 @@ pub use iced;
pub use iced_lazy;
pub use iced_native;
pub use iced_style;
#[cfg(feature = "iced_winit")]
pub use iced_winit;
#[cfg(feature = "applet")]