example = []
test = []
[dependencies.arrayvec]
version = "0.7"
[dependencies.cfg-if]
version = "1"
[dependencies.log]
version = "0.4"
[dependencies.naga]
features = ["clone"]
optional = true
version = "0.11"
[dependencies.parking_lot]
version = ">=0.11,<0.13"
[dependencies.profiling]
default-features = false
version = "1"
[dependencies.raw-window-handle]
version = "0.5"
[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", "gles"]
optional = true
package = "wgpu-core"
version = "0.15"
[dependencies.wgt]
package = "wgpu-types"
version = "0.15"
[dev-dependencies.bitflags]
version = "1"
[dev-dependencies.bytemuck]
features = ["derive"]
version = "1.4"
[dev-dependencies.ddsfile]
version = "0.5"
[dev-dependencies.env_logger]
version = "0.9"
[dev-dependencies.futures-intrusive]
version = "0.4"
[dev-dependencies.glam]
version = "0.21.3"
[dev-dependencies.image]
default-features = false
features = ["png"]
version = "0.24"
[dev-dependencies.log]
version = "0.4"
[dev-dependencies.naga]
features = ["wgsl-in"]
version = "0.11"
[dev-dependencies.nanorand]
default-features = false
features = ["wyrand"]
version = "0.7"
[dev-dependencies.noise]
default-features = false
version = "0.7"
[dev-dependencies.obj]
version = "0.10"
[dev-dependencies.png]
version = "0.17.5"
[dev-dependencies.pollster]
version = "0.2"
[dev-dependencies.wasm-bindgen-test]
version = "0.3"
[dev-dependencies.winit]
version = "0.27.1"
[features]
angle = ["wgc/angle"]
default = ["wgsl"]
emscripten = ["webgl"]
expose-ids = []
glsl = ["naga/glsl-in"]
replay = ["serde", "wgc/replay"]
spirv = ["naga/spv-in"]
strict_asserts = ["wgc?/strict_asserts", "wgt/strict_asserts"]
trace = ["serde", "wgc/trace"]
vulkan-portability = ["wgc/vulkan"]
webgl = ["hal", "wgc"]
wgsl = ["wgc?/wgsl"]
[lib]
[package]
authors = ["wgpu developers"]
autotests = false
description = "Rusty WebGPU API wrapper"
edition = "2021"
exclude = ["etc/**/*", "examples/**/*.png", "examples/**/*.dds", "examples/**/*.ktx2", "examples/**/*.mtl", "examples/**/*.obj", "tests/**/*", "Cargo.lock", "target/**/*"]
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 = "0.15.1"
[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 = "0.15"
[target."cfg(any(not(target_arch = \"wasm32\"), target_os = \"emscripten\"))".dependencies.hal]
package = "wgpu-hal"
version = "0.15"
[target."cfg(any(not(target_arch = \"wasm32\"), target_os = \"emscripten\"))".dependencies.wgc]
features = ["raw-window-handle", "gles"]
package = "wgpu-core"
version = "0.15"
[target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.wgc]
features = ["metal"]
package = "wgpu-core"
version = "0.15"
[target."cfg(any(windows, all(unix, not(target_arch = \"emscripten\"), not(target_os = \"ios\"), not(target_os = \"macos\"))))".dependencies.wgc]
features = ["vulkan"]
package = "wgpu-core"
version = "0.15"
[target."cfg(not(target_arch = \"wasm32\"))".dev-dependencies.async-executor]
version = "1.0"
[target."cfg(target_arch = \"wasm32\")".dependencies.hal]
optional = true
package = "wgpu-hal"
version = "0.15"
[target."cfg(target_arch = \"wasm32\")".dependencies.js-sys]
version = "0.3.61"
[target."cfg(target_arch = \"wasm32\")".dependencies.naga]
features = ["wgsl-out"]
version = "0.11"
[target."cfg(target_arch = \"wasm32\")".dependencies.parking_lot]
version = ">=0.11,<0.13"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen]
version = "0.2.84"
[target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures]
version = "0.4.34"
[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
features = ["Document", "Navigator", "Node", "NodeList", "Gpu", "GpuAdapter", "GpuAddressMode", "GpuAutoLayoutMode", "GpuBindGroup", "GpuBindGroupDescriptor", "GpuBindGroupEntry", "GpuBindGroupLayout", "GpuBindGroupLayoutDescriptor", "GpuBindGroupLayoutEntry", "GpuBlendComponent", "GpuBlendFactor", "GpuBlendOperation", "GpuBlendState", "GpuBuffer", "GpuBufferBinding", "GpuBufferBindingLayout", "GpuBufferBindingType", "GpuBufferDescriptor", "GpuCanvasAlphaMode", "GpuCanvasContext", "GpuCanvasConfiguration", "GpuColorDict", "GpuColorTargetState", "GpuCommandBuffer", "GpuCommandBufferDescriptor", "GpuCommandEncoder", "GpuCommandEncoderDescriptor", "GpuCompareFunction", "GpuCompilationInfo", "GpuCompilationMessage", "GpuCompilationMessageType", "GpuComputePassDescriptor", "GpuComputePassEncoder", "GpuComputePipeline", "GpuComputePipelineDescriptor", "GpuCullMode", "GpuDepthStencilState", "GpuDevice", "GpuDeviceDescriptor", "GpuDeviceLostInfo", "GpuDeviceLostReason", "GpuError", "GpuErrorFilter", "GpuExtent3dDict", "GpuFeatureName", "GpuFilterMode", "GpuFragmentState", "GpuFrontFace", "GpuImageCopyBuffer", "GpuImageCopyExternalImage", "GpuImageCopyTexture", "GpuImageCopyTextureTagged", "GpuImageDataLayout", "GpuIndexFormat", "GpuLoadOp", "gpu_map_mode", "GpuMipmapFilterMode", "GpuMultisampleState", "GpuObjectDescriptorBase", "GpuOrigin2dDict", "GpuOrigin3dDict", "GpuOutOfMemoryError", "GpuPipelineDescriptorBase", "GpuPipelineLayout", "GpuPipelineLayoutDescriptor", "GpuPowerPreference", "GpuPrimitiveState", "GpuPrimitiveTopology", "GpuProgrammableStage", "GpuQuerySet", "GpuQuerySetDescriptor", "GpuQueryType", "GpuQueue", "GpuRenderBundle", "GpuRenderBundleDescriptor", "GpuRenderBundleEncoder", "GpuRenderBundleEncoderDescriptor", "GpuRenderPassColorAttachment", "GpuRenderPassDepthStencilAttachment", "GpuRenderPassDescriptor", "GpuRenderPassEncoder", "GpuRenderPipeline", "GpuRenderPipelineDescriptor", "GpuRequestAdapterOptions", "GpuSampler", "GpuSamplerBindingLayout", "GpuSamplerBindingType", "GpuSamplerDescriptor", "GpuShaderModule", "GpuShaderModuleDescriptor", "GpuStencilFaceState", "GpuStencilOperation", "GpuStorageTextureAccess", "GpuStorageTextureBindingLayout", "GpuStoreOp", "GpuSupportedFeatures", "GpuSupportedLimits", "GpuTexture", "GpuTextureAspect", "GpuTextureBindingLayout", "GpuTextureDescriptor", "GpuTextureDimension", "GpuTextureFormat", "GpuTextureSampleType", "GpuTextureView", "GpuTextureViewDescriptor", "GpuTextureViewDimension", "GpuUncapturedErrorEvent", "GpuUncapturedErrorEventInit", "GpuValidationError", "GpuVertexAttribute", "GpuVertexBufferLayout", "GpuVertexFormat", "GpuVertexState", "GpuVertexStepMode", "HtmlCanvasElement", "OffscreenCanvas", "ImageBitmap", "ImageBitmapRenderingContext", "Window", "WorkerGlobalScope", "WorkerNavigator"]
version = "0.3.61"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.console_error_panic_hook]
version = "0.1.7"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.console_log]
version = "0.2"
[target."cfg(target_arch = \"wasm32\")".dev-dependencies.web-sys]
features = ["Location", "Blob", "RequestInit", "RequestMode", "Request", "Response", "WebGl2RenderingContext", "CanvasRenderingContext2d"]
version = "0.3.61"
[target."cfg(target_os = \"emscripten\")".dependencies.wgc]
features = ["emscripten"]
package = "wgpu-core"
version = "0.15"
[target."cfg(windows)".dependencies.hal]
features = ["dxc_shader_compiler", "renderdoc", "windows_rs"]
package = "wgpu-hal"
version = "0.15"
[target."cfg(windows)".dependencies.wgc]
features = ["dx11", "dx12"]
package = "wgpu-core"
version = "0.15"