Skip to content

Commit 088a8c7

Browse files
committed
Expose internal iced crates for cosmic-time
This allows cosmic-time to use all imports via libcosmic, so the versions of iced will not collide.
1 parent ce713d9 commit 088a8c7

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ tiny_skia = ["iced/tiny-skia", "iced_tiny_skia"]
1414
wayland = ["iced/wayland", "iced_sctk", "sctk",]
1515
wgpu = ["iced/wgpu", "iced_wgpu"]
1616
tokio = ["dep:tokio", "iced/tokio"]
17+
smol = ["iced/smol"]
1718
winit = ["iced/winit", "iced_winit"]
1819
winit_tiny_skia = ["winit", "tiny_skia"]
1920
winit_wgpu = ["winit", "wgpu"]
@@ -43,12 +44,18 @@ features = ["image", "svg", "lazy"]
4344
[dependencies.iced_runtime]
4445
path = "iced/runtime"
4546

47+
[dependencies.iced_renderer]
48+
path = "iced/renderer"
49+
4650
[dependencies.iced_core]
4751
path = "iced/core"
4852

4953
[dependencies.iced_widget]
5054
path = "iced/widget"
5155

56+
[dependencies.iced_futures]
57+
path = "iced/futures"
58+
5259
[dependencies.iced_accessibility]
5360
path = "iced/accessibility"
5461

src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,14 @@
66
pub use cosmic_config;
77
pub use cosmic_theme;
88
pub use iced;
9-
pub use iced_runtime;
109
#[cfg(feature = "wayland")]
1110
pub use iced_sctk;
1211
pub use iced_style;
1312
pub use iced_widget;
13+
pub use iced_futures;
14+
pub use iced_core;
15+
pub use iced_runtime;
16+
pub use iced_renderer;
1417
#[cfg(feature = "winit")]
1518
pub use iced_winit;
1619
#[cfg(feature = "wayland")]

0 commit comments

Comments
 (0)