summaryrefslogtreecommitdiffstats
path: root/src/pure.rs
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-09 14:10:15 +0700
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-03-09 14:10:15 +0700
commit12c1a3f829c801022d45f1a294d8fc7fa10606e5 (patch)
tree05cc7a7981f13063831e7397129ea30a14a6d97a /src/pure.rs
parent7d9ab71790ba0395681490f3af4d3899bb09ab09 (diff)
downloadiced-12c1a3f829c801022d45f1a294d8fc7fa10606e5.tar.gz
iced-12c1a3f829c801022d45f1a294d8fc7fa10606e5.tar.bz2
iced-12c1a3f829c801022d45f1a294d8fc7fa10606e5.zip
Remove redundant `widget` modules in subcrates
Instead, we can define the type aliases just once in the root crate!
Diffstat (limited to 'src/pure.rs')
-rw-r--r--src/pure.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pure.rs b/src/pure.rs
index 5cab5fd9..2a2984db 100644
--- a/src/pure.rs
+++ b/src/pure.rs
@@ -41,6 +41,7 @@ pub type Button<'a, Message> = iced_pure::Button<'a, Message, crate::Renderer>;
/// A pure text widget.
pub type Text = iced_pure::Text<crate::Renderer>;
+#[cfg(feature = "image")]
/// A pure image widget.
pub type Image = iced_pure::Image<crate::widget::image::Handle>;