chore: add prelude module

This commit is contained in:
Michael Aaron Murphy 2023-09-01 07:25:23 +02:00 committed by Michael Murphy
parent 28c9b001e4
commit 2ab760e66d

View file

@ -3,6 +3,14 @@
#![allow(clippy::module_name_repetitions)]
/// Recommended default imports.
pub mod prelude {
pub use crate::ext::*;
pub use crate::{Element, Renderer, Theme};
}
pub use apply::{Also, Apply};
pub mod app;
pub use app::{Application, ApplicationExt};
@ -19,7 +27,6 @@ pub mod executor;
pub use executor::single::Executor as SingleThreadExecutor;
mod ext;
pub use ext::ElementExt;
pub mod font;