From 5da72a94d54db8d9f1987aef08f02de1ea22e6c1 Mon Sep 17 00:00:00 2001 From: Bruce Mitchener Date: Sun, 26 May 2024 11:33:02 +0700 Subject: [PATCH] Prefer `default-features` instead of `default_features` (#5745) --- Cargo.toml | 2 +- wgpu-core/Cargo.toml | 2 +- wgpu-hal/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 7d142df64..4dc78b39c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -145,7 +145,7 @@ gpu-descriptor = "0.3" # DX dependencies bit-set = "0.5" -gpu-allocator = { version = "0.26", default_features = false, features = [ +gpu-allocator = { version = "0.26", default-features = false, features = [ "d3d12", "public-winapi", ] } diff --git a/wgpu-core/Cargo.toml b/wgpu-core/Cargo.toml index 8fbfbb01a..5b9976c11 100644 --- a/wgpu-core/Cargo.toml +++ b/wgpu-core/Cargo.toml @@ -131,7 +131,7 @@ version = "0.20.0" package = "wgpu-hal" path = "../wgpu-hal" version = "0.20.0" -default_features = false +default-features = false [build-dependencies] cfg_aliases.workspace = true diff --git a/wgpu-hal/Cargo.toml b/wgpu-hal/Cargo.toml index 9bec24988..96ee7ff95 100644 --- a/wgpu-hal/Cargo.toml +++ b/wgpu-hal/Cargo.toml @@ -138,7 +138,7 @@ libloading = { version = ">=0.7, <0.9", optional = true } # backend: Dx12 bit-set = { version = "0.5", optional = true } range-alloc = { version = "0.1", optional = true } -gpu-allocator = { version = "0.26", default_features = false, features = [ +gpu-allocator = { version = "0.26", default-features = false, features = [ "d3d12", "public-winapi", ], optional = true }