[build-dependencies.cfg_aliases]
version = "0.1"
[dependencies.arrayvec]
version = "0.7"
[dependencies.bit-vec]
version = "0.8"
[dependencies.bitflags]
version = "2.6"
[dependencies.bytemuck]
optional = true
version = "1.19"
[dependencies.document-features]
version = "0.2.10"
[dependencies.hal]
default-features = false
package = "wgpu-hal"
version = "23.0.0"
[dependencies.indexmap]
version = "2"
[dependencies.log]
version = "0.4"
[dependencies.naga]
version = "23.0.0"
[dependencies.once_cell]
version = "1.20.2"
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.profiling]
default-features = false
version = "1"
[dependencies.raw-window-handle]
optional = true
version = "0.6"
[dependencies.ron]
optional = true
version = "0.8"
[dependencies.rustc-hash]
version = "1.1.0"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.smallvec]
version = "1"
[dependencies.thiserror]
version = "1.0.65"
[dependencies.wgt]
package = "wgpu-types"
version = "23.0.0"
[features]
api_log_info = []
counters = ["wgt/counters"]
dx12 = ["hal/dx12"]
fragile-send-sync-non-atomic-wasm = ["hal/fragile-send-sync-non-atomic-wasm", "wgt/fragile-send-sync-non-atomic-wasm"]
gles = ["hal/gles"]
glsl = ["naga/glsl-in"]
indirect-validation = ["naga/wgsl-in"]
metal = ["hal/metal"]
observe_locks = ["dep:ron", "serde/serde_derive"]
raw-window-handle = ["dep:raw-window-handle"]
renderdoc = ["hal/renderdoc"]
replay = ["serde", "naga/deserialize"]
resource_log_info = []
serde = ["dep:serde", "wgt/serde", "arrayvec/serde"]
spirv = ["naga/spv-in", "dep:bytemuck"]
strict_asserts = ["wgt/strict_asserts"]
trace = ["dep:ron", "serde", "naga/serialize"]
vulkan = ["hal/vulkan"]
wgsl = ["naga/wgsl-in"]
[lib]
[package]
authors = ["gfx-rs developers"]
description = "WebGPU core logic on wgpu-hal"
edition = "2021"
homepage = "https://wgpu.rs/"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
name = "wgpu-core"
repository = "https://github.com/gfx-rs/wgpu"
rust-version = "1.76"
version = "23.0.1"
[package.metadata.cargo-machete]
ignored = ["cfg_aliases"]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
targets = ["x86_64-unknown-linux-gnu", "x86_64-apple-darwin", "x86_64-pc-windows-msvc", "wasm32-unknown-unknown"]