dependencies
This commit is contained in:
parent
9260ee87e1
commit
49f0f34270
3 changed files with 4 additions and 2 deletions
|
|
@ -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]
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue