Remove application feature from iced crate

This commit is contained in:
Héctor Ramón Jiménez 2022-09-26 15:58:12 +02:00
parent 78c9d5bedf
commit 98b5832917
No known key found for this signature in database
GPG key ID: 140CC052C94F138E
2 changed files with 2 additions and 8 deletions

View file

@ -13,9 +13,7 @@ categories = ["gui"]
resolver = "2" resolver = "2"
[features] [features]
default = ["wgpu", "application"] default = ["wgpu"]
# Enables the building the application modules
application = ["iced_winit/application"]
# Enables the `Image` widget # Enables the `Image` widget
image = ["iced_wgpu/image", "image_rs"] image = ["iced_wgpu/image", "image_rs"]
# Enables the `Svg` widget # Enables the `Svg` widget
@ -98,7 +96,7 @@ iced_core = { version = "0.5", path = "core" }
iced_futures = { version = "0.4", path = "futures" } iced_futures = { version = "0.4", path = "futures" }
iced_native = { version = "0.5", path = "native" } iced_native = { version = "0.5", path = "native" }
iced_graphics = { version = "0.3", path = "graphics" } 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_glutin = { version = "0.3", path = "glutin", optional = true }
iced_glow = { version = "0.3", path = "glow", optional = true } iced_glow = { version = "0.3", path = "glow", optional = true }
thiserror = "1.0" thiserror = "1.0"

View file

@ -167,10 +167,8 @@
mod element; mod element;
mod error; mod error;
mod result; mod result;
#[cfg(feature = "application")]
mod sandbox; mod sandbox;
#[cfg(feature = "application")]
pub mod application; pub mod application;
pub mod clipboard; pub mod clipboard;
pub mod executor; pub mod executor;
@ -198,7 +196,6 @@ pub use iced_native::theme;
pub use runtime::event; pub use runtime::event;
pub use runtime::subscription; pub use runtime::subscription;
#[cfg(feature = "application")]
pub use application::Application; pub use application::Application;
pub use element::Element; pub use element::Element;
pub use error::Error; pub use error::Error;
@ -206,7 +203,6 @@ pub use event::Event;
pub use executor::Executor; pub use executor::Executor;
pub use renderer::Renderer; pub use renderer::Renderer;
pub use result::Result; pub use result::Result;
#[cfg(feature = "application")]
pub use sandbox::Sandbox; pub use sandbox::Sandbox;
pub use settings::Settings; pub use settings::Settings;
pub use subscription::Subscription; pub use subscription::Subscription;