Merge pull request #1196 from aentity/application_feature
Add application feature, which allows to build freestanding wgpu app
This commit is contained in:
commit
77800bcf6d
3 changed files with 4 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ iced_core = { version = "0.5", path = "core" }
|
|||
iced_futures = { version = "0.4", path = "futures" }
|
||||
iced_native = { version = "0.5", path = "native" }
|
||||
iced_graphics = { version = "0.3", path = "graphics" }
|
||||
iced_winit = { version = "0.4", path = "winit" }
|
||||
iced_winit = { version = "0.4", path = "winit", features = ["application"] }
|
||||
iced_glutin = { version = "0.3", path = "glutin", optional = true }
|
||||
iced_glow = { version = "0.3", path = "glow", optional = true }
|
||||
thiserror = "1.0"
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ categories = ["gui"]
|
|||
[features]
|
||||
debug = ["iced_native/debug"]
|
||||
system = ["sysinfo"]
|
||||
application = []
|
||||
|
||||
[dependencies]
|
||||
window_clipboard = "0.2"
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue