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"
|
name = "cosmic"
|
||||||
|
|
||||||
[features]
|
[features]
|
||||||
default = ["wgpu"]
|
default = ["iced_winit", "wgpu"]
|
||||||
debug = ["iced/debug"]
|
debug = ["iced/debug"]
|
||||||
wayland = ["iced/wayland"]
|
wayland = ["iced/wayland"]
|
||||||
wgpu = ["iced/wgpu"]
|
wgpu = ["iced/wgpu"]
|
||||||
|
|
@ -55,6 +55,7 @@ branch = "sctk-cosmic"
|
||||||
[dependencies.iced_winit]
|
[dependencies.iced_winit]
|
||||||
git = "https://github.com/pop-os/iced.git"
|
git = "https://github.com/pop-os/iced.git"
|
||||||
branch = "sctk-cosmic"
|
branch = "sctk-cosmic"
|
||||||
|
optional = true
|
||||||
# path = "../iced/winit"
|
# path = "../iced/winit"
|
||||||
|
|
||||||
[dependencies.iced_wgpu]
|
[dependencies.iced_wgpu]
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ mod window;
|
||||||
use cosmic::{
|
use cosmic::{
|
||||||
iced::{sctk_settings::InitialSurface, Application},
|
iced::{sctk_settings::InitialSurface, Application},
|
||||||
iced_native::window::Settings,
|
iced_native::window::Settings,
|
||||||
iced_winit::command::platform_specific::wayland::window::SctkWindowSettings,
|
iced_native::command::platform_specific::wayland::window::SctkWindowSettings,
|
||||||
settings,
|
settings,
|
||||||
};
|
};
|
||||||
use cosmic_panel_config::PanelSize;
|
use cosmic_panel_config::PanelSize;
|
||||||
|
|
|
||||||
|
|
@ -2,6 +2,7 @@ pub use iced;
|
||||||
pub use iced_lazy;
|
pub use iced_lazy;
|
||||||
pub use iced_native;
|
pub use iced_native;
|
||||||
pub use iced_style;
|
pub use iced_style;
|
||||||
|
#[cfg(feature = "iced_winit")]
|
||||||
pub use iced_winit;
|
pub use iced_winit;
|
||||||
|
|
||||||
#[cfg(feature = "applet")]
|
#[cfg(feature = "applet")]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue