summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--core/src/lib.rs2
-rw-r--r--core/src/menu.rs (renamed from native/src/menu.rs)0
-rw-r--r--native/src/lib.rs6
-rw-r--r--web/src/lib.rs4
4 files changed, 6 insertions, 6 deletions
diff --git a/core/src/lib.rs b/core/src/lib.rs
index 6453d599..c4288158 100644
--- a/core/src/lib.rs
+++ b/core/src/lib.rs
@@ -15,6 +15,7 @@
#![forbid(unsafe_code)]
#![forbid(rust_2018_idioms)]
pub mod keyboard;
+pub mod menu;
pub mod mouse;
mod align;
@@ -33,6 +34,7 @@ pub use background::Background;
pub use color::Color;
pub use font::Font;
pub use length::Length;
+pub use menu::Menu;
pub use padding::Padding;
pub use point::Point;
pub use rectangle::Rectangle;
diff --git a/native/src/menu.rs b/core/src/menu.rs
index fe770216..fe770216 100644
--- a/native/src/menu.rs
+++ b/core/src/menu.rs
diff --git a/native/src/lib.rs b/native/src/lib.rs
index 564f2514..cbb02506 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -37,7 +37,6 @@ pub mod clipboard;
pub mod event;
pub mod keyboard;
pub mod layout;
-pub mod menu;
pub mod mouse;
pub mod overlay;
pub mod program;
@@ -62,8 +61,8 @@ mod debug;
mod debug;
pub use iced_core::{
- Align, Background, Color, Font, HorizontalAlignment, Length, Padding,
- Point, Rectangle, Size, Vector, VerticalAlignment,
+ menu, Align, Background, Color, Font, HorizontalAlignment, Length, Menu,
+ Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
};
pub use iced_futures::{executor, futures, Command};
@@ -76,7 +75,6 @@ pub use element::Element;
pub use event::Event;
pub use hasher::Hasher;
pub use layout::Layout;
-pub use menu::Menu;
pub use overlay::Overlay;
pub use program::Program;
pub use renderer::Renderer;
diff --git a/web/src/lib.rs b/web/src/lib.rs
index 158416b9..6b7d0115 100644
--- a/web/src/lib.rs
+++ b/web/src/lib.rs
@@ -74,8 +74,8 @@ pub use dodrio;
pub use element::Element;
pub use hasher::Hasher;
pub use iced_core::{
- keyboard, mouse, Align, Background, Color, Font, HorizontalAlignment,
- Length, Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
+ keyboard, menu, mouse, Align, Background, Color, Font, HorizontalAlignment,
+ Length, Menu, Padding, Point, Rectangle, Size, Vector, VerticalAlignment,
};
pub use iced_futures::{executor, futures, Command};
pub use subscription::Subscription;