Skip to content

Commit

Permalink
Remove application feature from iced crate
Browse files Browse the repository at this point in the history
  • Loading branch information
hecrj committed Sep 26, 2022
1 parent 78c9d5b commit 98b5832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 8 deletions.
6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -198,15 +196,13 @@ 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;
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;
Expand Down

0 comments on commit 98b5832

Please sign in to comment.