summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--examples/integration/Cargo.toml2
-rw-r--r--renderer/Cargo.toml10
-rw-r--r--wgpu/Cargo.toml4
3 files changed, 8 insertions, 8 deletions
diff --git a/examples/integration/Cargo.toml b/examples/integration/Cargo.toml
index 60390242..f429977f 100644
--- a/examples/integration/Cargo.toml
+++ b/examples/integration/Cargo.toml
@@ -7,7 +7,7 @@ publish = false
[dependencies]
iced_winit = { path = "../../winit" }
-iced_wgpu = { path = "../../wgpu", features = ["webgl"] }
+iced_wgpu = { path = "../../wgpu" }
iced_widget = { path = "../../widget" }
env_logger = "0.8"
diff --git a/renderer/Cargo.toml b/renderer/Cargo.toml
index d0420ad0..560bf2e1 100644
--- a/renderer/Cargo.toml
+++ b/renderer/Cargo.toml
@@ -17,12 +17,10 @@ thiserror = "1"
version = "0.7"
path = "../graphics"
+[dependencies.iced_wgpu]
+version = "0.9"
+path = "../wgpu"
+
[dependencies.iced_tiny_skia]
version = "0.1"
path = "../tiny_skia"
-
-[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
-iced_wgpu = { version = "0.9", path = "../wgpu" }
-
-[target.'cfg(target_arch = "wasm32")'.dependencies]
-iced_wgpu = { version = "0.9", path = "../wgpu", features = ["webgl"] }
diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml
index 50a81a91..5601c0de 100644
--- a/wgpu/Cargo.toml
+++ b/wgpu/Cargo.toml
@@ -23,7 +23,6 @@ dds = ["iced_graphics/dds"]
farbfeld = ["iced_graphics/farbfeld"]
geometry = ["iced_graphics/geometry", "lyon"]
spirv = ["wgpu/spirv"]
-webgl = ["wgpu/webgl"]
[dependencies]
wgpu = "0.14"
@@ -36,6 +35,9 @@ once_cell = "1.0"
rustc-hash = "1.1"
ouroboros = "0.15"
+[target.'cfg(target_arch = "wasm32")'.dependencies]
+wgpu = { version = "0.14", features = ["webgl"] }
+
[dependencies.twox-hash]
version = "1.6"
default-features = false