@@ -13,7 +13,7 @@ categories = ["gui"]
1313resolver = " 2"
1414
1515[features ]
16- default = [" wgpu" , " default_system_font " ]
16+ default = [" wgpu" ]
1717# Enables the `iced_wgpu` renderer
1818wgpu = [" iced_wgpu" ]
1919# Enables the `Image` widget
@@ -58,7 +58,6 @@ members = [
5858 " lazy" ,
5959 " native" ,
6060 " style" ,
61- " web" ,
6261 " wgpu" ,
6362 " winit" ,
6463 " examples/bezier_tool" ,
@@ -94,16 +93,16 @@ members = [
9493[dependencies ]
9594iced_core = { version = " 0.4" , path = " core" }
9695iced_futures = { version = " 0.3" , path = " futures" }
96+ iced_winit = { version = " 0.3" , path = " winit" }
97+ iced_glutin = { version = " 0.2" , path = " glutin" , optional = true }
98+ iced_glow = { version = " 0.2" , path = " glow" , optional = true }
9799thiserror = " 1.0"
98100
99101[target .'cfg(not(target_arch = "wasm32"))' .dependencies ]
100- iced_winit = { version = " 0.3" , path = " winit" }
101- iced_glutin = { version = " 0.2" , path = " glutin" , optional = true }
102102iced_wgpu = { version = " 0.4" , path = " wgpu" , optional = true }
103- iced_glow = { version = " 0.2" , path = " glow" , optional = true }
104103
105104[target .'cfg(target_arch = "wasm32")' .dependencies ]
106- iced_web = { version = " 0.4" , path = " web " }
105+ iced_wgpu = { version = " 0.4" , path = " wgpu " , features = [ " webgl " ], optional = true }
107106
108107[package .metadata .docs .rs ]
109108rustdoc-args = [" --cfg" , " docsrs" ]
0 commit comments