# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO # # When uploading crates to the registry Cargo will automatically # "normalize" Cargo.toml files for maximal compatibility # with all versions of Cargo and also rewrite `path` dependencies # to registry (e.g., crates.io) dependencies. # # If you are reading this file be aware that the original Cargo.toml # will likely look very different (and much more reasonable). # See Cargo.toml.orig for the original contents. [package] edition = "2021" name = "li-wgpu" version = "0.18.0" authors = ["wgpu developers"] exclude = ["Cargo.lock"] description = "Rusty WebGPU API wrapper" homepage = "https://wgpu.rs/" readme = "README.md" keywords = ["graphics"] license = "MIT OR Apache-2.0" repository = "https://github.com/gfx-rs/wgpu" [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", ] [lib] [dependencies.arrayvec] version = "0.7" [dependencies.cfg-if] version = "1" [dependencies.flume] version = "0.11" [dependencies.log] version = "0.4" [dependencies.naga] version = "0.14.0" features = ["clone"] optional = true [dependencies.parking_lot] version = ">=0.11,<0.13" [dependencies.profiling] version = "1" default-features = false [dependencies.raw-window-handle] version = "0.5" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.smallvec] version = "1" [dependencies.static_assertions] version = "1.1.0" [dependencies.wgc] version = "0.18.0" features = ["raw-window-handle"] optional = true package = "li-wgpu-core" [dependencies.wgt] version = "0.18.0" package = "wgpu-types" [dev-dependencies.naga] version = "0.14.0" features = ["wgsl-in"] [features] angle = ["wgc/gles"] default = ["wgsl"] expose-ids = [] 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"] 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/gles", ] wgsl = ["wgc?/wgsl"] [target."cfg(all(not(target_arch = \"wasm32\"), unix, not(target_os = \"ios\"), not(target_os = \"macos\")))".dependencies.hal] version = "0.18.0" features = ["renderdoc"] package = "li-wgpu-hal" [target."cfg(all(unix, not(target_os = \"ios\"), not(target_os = \"macos\")))".dependencies.wgc] version = "0.18.0" features = ["gles"] package = "li-wgpu-core" [target."cfg(any(not(target_arch = \"wasm32\"), target_os = \"emscripten\"))".dependencies.hal] version = "0.18.0" package = "li-wgpu-hal" [target."cfg(any(not(target_arch = \"wasm32\"), target_os = \"emscripten\"))".dependencies.wgc] version = "0.18.0" features = ["raw-window-handle"] package = "li-wgpu-core" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.wgc] version = "0.18.0" features = ["metal"] package = "li-wgpu-core" [target."cfg(any(windows, all(unix, not(target_os = \"emscripten\"), not(target_os = \"ios\"), not(target_os = \"macos\"))))".dependencies.wgc] version = "0.18.0" features = ["vulkan"] package = "li-wgpu-core" [target."cfg(target_arch = \"wasm32\")".dependencies.hal] version = "0.18.0" optional = true package = "li-wgpu-hal" [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.65" [target."cfg(target_arch = \"wasm32\")".dependencies.naga] version = "0.14.0" features = ["wgsl-out"] [target."cfg(target_arch = \"wasm32\")".dependencies.parking_lot] version = ">=0.11,<0.13" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen] version = "0.2.87" [target."cfg(target_arch = \"wasm32\")".dependencies.wasm-bindgen-futures] version = "0.4.34" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.65" 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", "GpuComputePassTimestampWrites", "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", ] [target."cfg(windows)".dependencies.hal] version = "0.18.0" features = [ "dxc_shader_compiler", "renderdoc", "windows_rs", ] package = "li-wgpu-hal" [target."cfg(windows)".dependencies.wgc] version = "0.18.0" features = [ "dx11", "dx12", "gles", ] package = "li-wgpu-core"