From 78c9d5bedfdee566c4cb4371e17b48901bab99ae Mon Sep 17 00:00:00 2001 From: aentity Date: Sat, 15 Jan 2022 00:06:36 -0800 Subject: Add application feature, which allows to build freestanding wgpu app --- Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index cffa5409..9196d810 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,9 @@ categories = ["gui"] resolver = "2" [features] -default = ["wgpu"] +default = ["wgpu", "application"] +# Enables the building the application modules +application = ["iced_winit/application"] # Enables the `Image` widget image = ["iced_wgpu/image", "image_rs"] # Enables the `Svg` widget -- cgit From 98b5832917fa709bd9977e776d629e2b0177d935 Mon Sep 17 00:00:00 2001 From: Héctor Ramón Jiménez Date: Mon, 26 Sep 2022 15:58:12 +0200 Subject: Remove `application` feature from `iced` crate --- Cargo.toml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index 9196d810..725baecc 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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" -- cgit