[build-dependencies.cfg_aliases]
version = "0.1"
[dependencies.arrayvec]
version = "0.7"
[dependencies.document-features]
version = "0.2.10"
[dependencies.log]
version = "0.4"
[dependencies.naga]
optional = true
version = "23.0.0"
[dependencies.parking_lot]
version = "0.12.1"
[dependencies.profiling]
default-features = false
version = "1"
[dependencies.raw-window-handle]
features = ["std"]
version = "0.6"
[dependencies.serde]
features = ["derive"]
optional = true
version = "1"
[dependencies.smallvec]
version = "1"
[dependencies.static_assertions]
version = "1.1.0"
[dependencies.wgc]
features = ["raw-window-handle"]
optional = true
package = "wgpu-core"
version = "23.0.1"
[dependencies.wgt]
package = "wgpu-types"
version = "23.0.0"
[dev-dependencies.naga]
features = ["wgsl-in"]
version = "23.0.0"
[features]
angle = ["wgc?/gles"]
counters = ["wgc/counters"]
default = ["wgsl", "dx12", "metal", "webgpu"]
dx12 = ["wgc?/dx12"]
fragile-send-sync-non-atomic-wasm = ["hal/fragile-send-sync-non-atomic-wasm", "wgc/fragile-send-sync-non-atomic-wasm", "wgt/fragile-send-sync-non-atomic-wasm"]
glsl = ["naga/glsl-in", "wgc/glsl"]
metal = ["wgc?/metal"]
naga-ir = ["dep:naga"]
replay = ["serde", "wgc/replay"]
serde = ["dep:serde", "wgc/serde"]
spirv = ["naga/spv-in", "wgc/spirv"]
strict_asserts = ["wgc?/strict_asserts", "wgt/strict_asserts"]
vulkan-portability = ["wgc?/vulkan"]
webgl = ["dep:hal", "wgc/gles"]
webgpu = ["naga?/wgsl-out"]
wgsl = ["wgc?/wgsl"]
[lib]
[package]
authors = ["gfx-rs developers"]
description = "Rusty WebGPU API wrapper"
edition = "2021"
exclude = ["Cargo.lock"]
homepage = "https://wgpu.rs/"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
name = "wgpu"
readme = "README.md"
repository = "https://github.com/gfx-rs/wgpu"
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"]
[target.'cfg(all(not(target_arch = "wasm32"), unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies.hal]
features = ["renderdoc"]
package = "wgpu-hal"
version = "23.0.1"
[target.'cfg(all(unix, not(target_os = "ios"), not(target_os = "macos")))'.dependencies.wgc]
features = ["gles"]
package = "wgpu-core"
version = "23.0.1"
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "emscripten"))'.dependencies.hal]
package = "wgpu-hal"
version = "23.0.1"
[target.'cfg(any(not(target_arch = "wasm32"), target_os = "emscripten"))'.dependencies.wgc]
features = ["raw-window-handle"]
package = "wgpu-core"
version = "23.0.1"
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.wgc]
package = "wgpu-core"
version = "23.0.1"
[target.'cfg(any(windows, all(unix, not(target_os = "emscripten"), not(target_os = "ios"), not(target_os = "macos"))))'.dependencies.wgc]
features = ["vulkan"]
package = "wgpu-core"
version = "23.0.1"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgc]
features = ["indirect-validation"]
package = "wgpu-core"
version = "23.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.hal]
optional = true
package = "wgpu-hal"
version = "23.0.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.js-sys]
version = "0.3.70"
[target.'cfg(target_arch = "wasm32")'.dependencies.parking_lot]
version = "0.12.1"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen]
version = "0.2.95"
[target.'cfg(target_arch = "wasm32")'.dependencies.wasm-bindgen-futures]
version = "0.4.45"
[target.'cfg(target_arch = "wasm32")'.dependencies.web-sys]
features = ["Document", "Navigator", "Node", "NodeList", "HtmlCanvasElement", "OffscreenCanvas", "ImageBitmap", "ImageBitmapRenderingContext", "Window", "WorkerGlobalScope", "WorkerNavigator", "Event", "EventTarget"]
version = "0.3.72"
[target."cfg(windows)".dependencies.hal]
features = ["renderdoc"]
package = "wgpu-hal"
version = "23.0.1"
[target."cfg(windows)".dependencies.wgc]
features = ["gles"]
package = "wgpu-core"
version = "23.0.1"