diff --git a/wgpu/Cargo.toml b/wgpu/Cargo.toml index b6df2580a9..52e920481f 100644 --- a/wgpu/Cargo.toml +++ b/wgpu/Cargo.toml @@ -36,10 +36,14 @@ default = ["wgsl", "dx12", "metal", "vulkan", "gles", "webgpu"] # -------------------------------------------------------------------- ## Enables the DX12 backend on Windows. -dx12 = ["wgc?/dx12"] +dx12 = [ + "wgc/dx12", +] # Dx12 doesn't do anything on non-windows wgpu-core & wgpu-hal, so we don't need a proxy crate here. ## Enables the Metal backend on macOS & iOS. -metal = ["wgpu-core-feature-conditional-vendor-apple/metal"] +metal = [ + "wgpu-core-feature-conditional-vendor-apple/metal", +] # Metal doesn't do anything on non-Apple wgpu-core & wgpu-hal, but we already have a proxy crate for Apple platforms anyways. ## Enables the Vulkan backend on Windows, Linux, and Android. ##