wgpu-hal 0.20.0

WebGPU hardware abstraction layer
Documentation
[[example]]
name = "raw-gles"
required-features = ["gles"]
[build-dependencies.cfg_aliases]
version = "0.1"
[dependencies.arrayvec]
version = "0.7"

[dependencies.bitflags]
version = "2"

[dependencies.glow]
optional = true
version = "0.13.1"

[dependencies.log]
version = "0.4"

[dependencies.naga]
version = "0.20.0"

[dependencies.once_cell]
version = "1.19.0"

[dependencies.parking_lot]
version = ">=0.11,<0.13"

[dependencies.profiling]
default-features = false
version = "1"

[dependencies.raw-window-handle]
version = "0.6"

[dependencies.rustc-hash]
version = "1.1"

[dependencies.thiserror]
version = "1"

[dependencies.wgt]
package = "wgpu-types"
version = "0.20.0"
[dev-dependencies.cfg-if]
version = "1"

[dev-dependencies.env_logger]
version = "0.11"

[dev-dependencies.glam]
version = "0.27.0"

[dev-dependencies.naga]
features = ["wgsl-in"]
version = "0.20.0"

[dev-dependencies.winit]
features = ["android-native-activity"]
version = "0.29.14"

[features]
default = ["link"]
device_lost_panic = []
dx12 = ["naga/hlsl-out", "d3d12", "bit-set", "libloading", "range-alloc", "winapi/std", "winapi/winbase", "winapi/d3d12", "winapi/d3d12shader", "winapi/d3d12sdklayers", "winapi/dxgi1_6"]
dxc_shader_compiler = ["hassle-rs"]
fragile-send-sync-non-atomic-wasm = ["wgt/fragile-send-sync-non-atomic-wasm"]
gles = ["naga/glsl-out", "glow", "glutin_wgl_sys", "khronos-egl", "libloading", "ndk-sys"]
internal_error_panic = []
link = ["metal/link"]
metal = ["naga/msl-out", "block"]
oom_panic = []
renderdoc = ["libloading", "renderdoc-sys"]
vulkan = ["naga/spv-out", "ash", "gpu-alloc", "gpu-descriptor", "libloading", "smallvec", "android_system_properties"]
windows_rs = ["gpu-allocator"]

[lib]

[package]
authors = ["gfx-rs developers"]
description = "WebGPU hardware abstraction layer"
edition = "2021"
homepage = "https://wgpu.rs/"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
name = "wgpu-hal"
readme = "README.md"
repository = "https://github.com/gfx-rs/wgpu"
rust-version = "1.74"
version = "0.20.0"
[package.metadata.docs.rs]
features = ["vulkan", "gles", "renderdoc"]
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "wasm32-unknown-unknown"]
[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.js-sys]
version = "0.3.69"

[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.wasm-bindgen]
version = "0.2.87"

[target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.web-sys]
features = ["Window", "HtmlCanvasElement", "WebGl2RenderingContext", "OffscreenCanvas"]
version = "0.3.69"
[target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.block]
optional = true
version = "0.1"

[target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.core-graphics-types]
version = "0.1"

[target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.metal]
version = "0.28.0"

[target."cfg(any(target_os=\"macos\", target_os=\"ios\"))".dependencies.objc]
version = "0.2.5"
[target."cfg(not(target_arch = \"wasm32\"))".dependencies.ash]
optional = true
version = "0.37.3"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.gpu-alloc]
optional = true
version = "0.6"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.gpu-descriptor]
optional = true
version = "0.3"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.khronos-egl]
features = ["dynamic"]
optional = true
version = "6"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.libloading]
optional = true
version = ">=0.7, <0.9"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.renderdoc-sys]
optional = true
version = "1.1.0"

[target."cfg(not(target_arch = \"wasm32\"))".dependencies.smallvec]
features = ["union"]
optional = true
version = "1"
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.glutin]
version = "0.29.1"
[target."cfg(target_os = \"android\")".dependencies.android_system_properties]
optional = true
version = "0.1.1"

[target."cfg(target_os = \"android\")".dependencies.ndk-sys]
optional = true
version = "0.5.0"
[target."cfg(target_os = \"emscripten\")".dependencies.khronos-egl]
features = ["static", "no-pkg-config"]
version = "6"

[target."cfg(target_os = \"emscripten\")".dependencies.libloading]
optional = true
version = ">=0.7, <0.9"
[target."cfg(unix)".dependencies.libc]
version = "0.2"
[target."cfg(windows)".dependencies.bit-set]
optional = true
version = "0.5"

[target."cfg(windows)".dependencies.d3d12]
features = ["libloading"]
optional = true
version = "0.20.0"

[target."cfg(windows)".dependencies.glutin_wgl_sys]
optional = true
version = "0.5"

[target."cfg(windows)".dependencies.gpu-allocator]
default_features = false
features = ["d3d12", "public-winapi"]
optional = true
version = "0.25"

[target."cfg(windows)".dependencies.hassle-rs]
optional = true
version = "0.11"

[target."cfg(windows)".dependencies.range-alloc]
optional = true
version = "0.1"

[target."cfg(windows)".dependencies.winapi]
features = ["profileapi", "libloaderapi", "windef", "winuser", "dcomp"]
version = "0.3"