Skip to content

Commit

Permalink
Formatting and Cargo.toml Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
cwfitzgerald committed Feb 14, 2025
1 parent eb4616e commit c41bc95
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions wgpu-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ metal = ["wgpu-core-platform-apple/metal"]
## Vulkan backend, only available on Windows, Linux, Android
vulkan = ["wgpu-core-platform-windows-linux-android/vulkan"]
## OpenGL backend, only available on Windows, Linux, Android, and Emscripten
gles = ["wgpu-core-platform-windows-linux-android/gles", "wgpu-core-platform-emscripten/gles"]
gles = [
"wgpu-core-platform-windows-linux-android/gles",
"wgpu-core-platform-emscripten/gles",
]

## WebGL backend, only available on Emscripten
webgl = ["wgpu-core-platform-wasm/webgl"]
Expand All @@ -141,11 +144,6 @@ renderdoc = ["wgpu-core-platform-windows-linux-android/renderdoc"]
# TODO(https://github.com/gfx-rs/wgpu/issues/7120): there should be a hal feature
noop = []

[dependencies]
naga.workspace = true
wgpu-hal.workspace = true
wgpu-types.workspace = true

# The target limitation here isn't needed, but prevents more than one of these
# platform crates from being included in the build at a time, preventing users
# from getting confused by seeing them in the list of crates.
Expand All @@ -158,6 +156,11 @@ wgpu-core-platform-wasm = { workspace = true, optional = true }
[target.'cfg(any(windows, target_os = "linux", target_os = "android"))'.dependencies]
wgpu-core-platform-windows-linux-android = { workspace = true, optional = true }

[dependencies]
naga.workspace = true
wgpu-hal.workspace = true
wgpu-types.workspace = true

arrayvec.workspace = true
bit-vec.workspace = true
bitflags.workspace = true
Expand Down

0 comments on commit c41bc95

Please sign in to comment.