summaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar aentity <aentity@yahoo.com>2022-01-15 00:06:36 -0800
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-09-26 15:57:30 +0200
commit78c9d5bedfdee566c4cb4371e17b48901bab99ae (patch)
tree53e21c51c9fddb887c6697a5a3b087c934bbd26b /src/lib.rs
parent3c2a8b70add7139bf564313da4d2267138ae65aa (diff)
downloadiced-78c9d5bedfdee566c4cb4371e17b48901bab99ae.tar.gz
iced-78c9d5bedfdee566c4cb4371e17b48901bab99ae.tar.bz2
iced-78c9d5bedfdee566c4cb4371e17b48901bab99ae.zip
Add application feature, which allows to build freestanding wgpu app
Diffstat (limited to '')
-rw-r--r--src/lib.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 8209952f..3df7183e 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -167,8 +167,10 @@
mod element;
mod error;
mod result;
+#[cfg(feature = "application")]
mod sandbox;
+#[cfg(feature = "application")]
pub mod application;
pub mod clipboard;
pub mod executor;
@@ -196,6 +198,7 @@ pub use iced_native::theme;
pub use runtime::event;
pub use runtime::subscription;
+#[cfg(feature = "application")]
pub use application::Application;
pub use element::Element;
pub use error::Error;
@@ -203,6 +206,7 @@ pub use event::Event;
pub use executor::Executor;
pub use renderer::Renderer;
pub use result::Result;
+#[cfg(feature = "application")]
pub use sandbox::Sandbox;
pub use settings::Settings;
pub use subscription::Subscription;