diff options
| author | 2022-09-26 15:58:12 +0200 | |
|---|---|---|
| committer | 2022-09-26 15:58:12 +0200 | |
| commit | 98b5832917fa709bd9977e776d629e2b0177d935 (patch) | |
| tree | a105ccd9335087e1c67103ce960c5f966df048b0 | |
| parent | 78c9d5bedfdee566c4cb4371e17b48901bab99ae (diff) | |
| download | iced-98b5832917fa709bd9977e776d629e2b0177d935.tar.gz iced-98b5832917fa709bd9977e776d629e2b0177d935.tar.bz2 iced-98b5832917fa709bd9977e776d629e2b0177d935.zip | |
Remove `application` feature from `iced` crate
| -rw-r--r-- | Cargo.toml | 6 | ||||
| -rw-r--r-- | src/lib.rs | 4 | 
2 files changed, 2 insertions, 8 deletions
| @@ -13,9 +13,7 @@ categories = ["gui"]  resolver = "2"  [features] -default = ["wgpu", "application"] -# Enables the building the application modules -application = ["iced_winit/application"] +default = ["wgpu"]  # Enables the `Image` widget  image = ["iced_wgpu/image", "image_rs"]  # Enables the `Svg` widget @@ -98,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" @@ -167,10 +167,8 @@  mod element;  mod error;  mod result; -#[cfg(feature = "application")]  mod sandbox; -#[cfg(feature = "application")]  pub mod application;  pub mod clipboard;  pub mod executor; @@ -198,7 +196,6 @@ 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; @@ -206,7 +203,6 @@ 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; | 
