Add application feature, which allows to build freestanding wgpu app

This commit is contained in:
aentity 2022-01-15 00:06:36 -08:00 committed by Héctor Ramón Jiménez
parent 3c2a8b70ad
commit 78c9d5bedf
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
4 changed files with 10 additions and 1 deletions

View file

@ -35,6 +35,7 @@
pub use iced_native::*;
pub use winit;
#[cfg(feature = "application")]
pub mod application;
pub mod clipboard;
pub mod conversion;
@ -48,6 +49,7 @@ mod error;
mod position;
mod proxy;
#[cfg(feature = "application")]
pub use application::Application;
pub use clipboard::Clipboard;
pub use error::Error;