From ca1f453c47e01dda08e70802ded21d1c760584c9 Mon Sep 17 00:00:00 2001 From: Cameron Taggart Date: Mon, 4 Mar 2024 13:20:03 -0600 Subject: [PATCH] add webgpu feature by default for wgpu feature of eframe (#4124) Fix #4123. Looks like it was caused by #3875. --- crates/eframe/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index 092e332c..da1aea6b 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -239,4 +239,8 @@ web-sys = { version = "0.3.58", features = [ # optional web: egui-wgpu = { workspace = true, optional = true } # if wgpu is used, use it without (!) winit -wgpu = { workspace = true, optional = true } +wgpu = { workspace = true, optional = true, features = [ + # Let's enable some backends so that users can use `eframe` out-of-the-box + # without having to explicitly opt-in to backends + "webgpu", +] }