add webgpu feature by default for wgpu feature of eframe (#4124)

Fix #4123. Looks like it was caused by #3875.
This commit is contained in:
Cameron Taggart 2024-03-04 13:20:03 -06:00 committed by GitHub
parent 18eeb01f57
commit ca1f453c47
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -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",
] }