[package]
name = "wgpu-core"
version = "23.0.0"
authors = ["gfx-rs developers"]
edition = "2021"
description = "WebGPU core logic on wgpu-hal"
homepage = "https://wgpu.rs/"
repository = "https://github.com/gfx-rs/wgpu"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
rust-version = "1.76"
[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",
]
[package.metadata.cargo-machete]
ignored = ["cfg_aliases"]
[lib]
[features]
counters = ["wgt/counters"]
api_log_info = []
resource_log_info = []
renderdoc = ["hal/renderdoc"]
strict_asserts = ["wgt/strict_asserts"]
indirect-validation = ["naga/wgsl-in"]
serde = ["dep:serde", "wgt/serde", "arrayvec/serde"]
trace = ["dep:ron", "serde", "naga/serialize"]
observe_locks = ["dep:ron", "serde/serde_derive"]
replay = ["serde", "naga/deserialize"]
raw-window-handle = ["dep:raw-window-handle"]
wgsl = ["naga/wgsl-in"]
glsl = ["naga/glsl-in"]
spirv = ["naga/spv-in", "dep:bytemuck"]
fragile-send-sync-non-atomic-wasm = [
"hal/fragile-send-sync-non-atomic-wasm",
"wgt/fragile-send-sync-non-atomic-wasm",
]
metal = ["hal/metal"]
vulkan = ["hal/vulkan"]
gles = ["hal/gles"]
dx12 = ["hal/dx12"]
[dependencies]
arrayvec.workspace = true
bit-vec.workspace = true
bitflags.workspace = true
bytemuck = { workspace = true, optional = true }
document-features.workspace = true
indexmap.workspace = true
log.workspace = true
once_cell.workspace = true
parking_lot.workspace = true
profiling = { workspace = true, default-features = false }
raw-window-handle = { workspace = true, optional = true }
ron = { workspace = true, optional = true }
rustc-hash.workspace = true
serde = { workspace = true, features = ["derive"], optional = true }
smallvec.workspace = true
thiserror.workspace = true
[dependencies.naga]
path = "../naga"
version = "23.0.0"
[dependencies.wgt]
package = "wgpu-types"
path = "../wgpu-types"
version = "23.0.0"
[dependencies.hal]
package = "wgpu-hal"
path = "../wgpu-hal"
version = "23.0.0"
default-features = false
[build-dependencies]
cfg_aliases.workspace = true