Prefer default-features instead of default_features (#5745)

This commit is contained in:
Bruce Mitchener 2024-05-26 11:33:02 +07:00 committed by GitHub
parent 2fd09945cd
commit 5da72a94d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions

View File

@ -145,7 +145,7 @@ gpu-descriptor = "0.3"
# DX dependencies # DX dependencies
bit-set = "0.5" bit-set = "0.5"
gpu-allocator = { version = "0.26", default_features = false, features = [ gpu-allocator = { version = "0.26", default-features = false, features = [
"d3d12", "d3d12",
"public-winapi", "public-winapi",
] } ] }

View File

@ -131,7 +131,7 @@ version = "0.20.0"
package = "wgpu-hal" package = "wgpu-hal"
path = "../wgpu-hal" path = "../wgpu-hal"
version = "0.20.0" version = "0.20.0"
default_features = false default-features = false
[build-dependencies] [build-dependencies]
cfg_aliases.workspace = true cfg_aliases.workspace = true

View File

@ -138,7 +138,7 @@ libloading = { version = ">=0.7, <0.9", optional = true }
# backend: Dx12 # backend: Dx12
bit-set = { version = "0.5", optional = true } bit-set = { version = "0.5", optional = true }
range-alloc = { version = "0.1", 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", "d3d12",
"public-winapi", "public-winapi",
], optional = true } ], optional = true }