diff options
author | 2022-01-15 00:06:36 -0800 | |
---|---|---|
committer | 2022-09-26 15:57:30 +0200 | |
commit | 78c9d5bedfdee566c4cb4371e17b48901bab99ae (patch) | |
tree | 53e21c51c9fddb887c6697a5a3b087c934bbd26b /src/lib.rs | |
parent | 3c2a8b70add7139bf564313da4d2267138ae65aa (diff) | |
download | iced-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.rs | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |