diff --git a/Cargo.lock b/Cargo.lock index 7cf24278364..f88634fd456 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4261,6 +4261,7 @@ dependencies = [ "arrayvec", "ash", "bitflags 2.4.0", + "block", "cfg_aliases", "core-graphics-types", "glow", diff --git a/crates/eframe/Cargo.toml b/crates/eframe/Cargo.toml index c3158ee4e10..6b2a6f32bb6 100644 --- a/crates/eframe/Cargo.toml +++ b/crates/eframe/Cargo.toml @@ -168,7 +168,12 @@ pollster = { version = "0.3", optional = true } # needed for wgpu glutin = { version = "0.31", optional = true } glutin-winit = { version = "0.4", optional = true } puffin = { workspace = true, optional = true } -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 + "metal", + "webgpu", +] } # mac: [target.'cfg(any(target_os = "macos"))'.dependencies]