From bdca20fc4a3e8f6bd8ffb59de75e6ca0f8a94b6a Mon Sep 17 00:00:00 2001 From: Vladyslav Nikonov Date: Thu, 21 Oct 2021 22:42:14 +0300 Subject: Experimental wgpu WebGL backend support - Added missing `draw_cache_align_4x4` call for `brush_glyph` on wasm32 target - Added WebGL support to `integratio_wgpu` example - Fixed test.yml CI workflow - Removed spir-v shader in `integration_wgpu`; Fixed formatting - Removed redundant `BoxStream` typedef --- winit/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'winit/Cargo.toml') diff --git a/winit/Cargo.toml b/winit/Cargo.toml index bfcfacbc..e0581b00 100644 --- a/winit/Cargo.toml +++ b/winit/Cargo.toml @@ -14,7 +14,6 @@ categories = ["gui"] debug = ["iced_native/debug"] [dependencies] -window_clipboard = "0.2" log = "0.4" thiserror = "1.0" @@ -37,3 +36,6 @@ path = "../futures" [target.'cfg(target_os = "windows")'.dependencies.winapi] version = "0.3.6" + +[target.'cfg(not(target_arch = "wasm32"))'.dependencies.window_clipboard] +version = "0.2" -- cgit