# 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 = "wgpu" version = "23.0.1" authors = ["gfx-rs 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.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", ] [lib] [dependencies.arrayvec] version = "0.7" [dependencies.document-features] version = "0.2.10" [dependencies.log] version = "0.4" [dependencies.naga] version = "23.0.0" optional = true [dependencies.parking_lot] version = "0.12.1" [dependencies.profiling] version = "1" default-features = false [dependencies.raw-window-handle] version = "0.6" features = ["std"] [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.smallvec] version = "1" [dependencies.static_assertions] version = "1.1.0" [dependencies.wgc] version = "23.0.1" features = ["raw-window-handle"] optional = true package = "wgpu-core" [dependencies.wgt] version = "23.0.0" package = "wgpu-types" [dev-dependencies.naga] version = "23.0.0" features = ["wgsl-in"] [build-dependencies.cfg_aliases] version = "0.1" [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"] [target."cfg(all(not(target_arch = \"wasm32\"), unix, not(target_os = \"ios\"), not(target_os = \"macos\")))".dependencies.hal] version = "23.0.1" features = ["renderdoc"] package = "wgpu-hal" [target."cfg(all(unix, not(target_os = \"ios\"), not(target_os = \"macos\")))".dependencies.wgc] version = "23.0.1" features = ["gles"] package = "wgpu-core" [target."cfg(any(not(target_arch = \"wasm32\"), target_os = \"emscripten\"))".dependencies.hal] version = "23.0.1" package = "wgpu-hal" [target."cfg(any(not(target_arch = \"wasm32\"), target_os = \"emscripten\"))".dependencies.wgc] version = "23.0.1" features = ["raw-window-handle"] package = "wgpu-core" [target."cfg(any(target_os = \"macos\", target_os = \"ios\"))".dependencies.wgc] version = "23.0.1" package = "wgpu-core" [target."cfg(any(windows, all(unix, not(target_os = \"emscripten\"), not(target_os = \"ios\"), not(target_os = \"macos\"))))".dependencies.wgc] version = "23.0.1" features = ["vulkan"] package = "wgpu-core" [target."cfg(not(target_arch = \"wasm32\"))".dependencies.wgc] version = "23.0.1" features = ["indirect-validation"] package = "wgpu-core" [target."cfg(target_arch = \"wasm32\")".dependencies.hal] version = "23.0.1" optional = true package = "wgpu-hal" [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] version = "0.3.72" features = [ "Document", "Navigator", "Node", "NodeList", "HtmlCanvasElement", "OffscreenCanvas", "ImageBitmap", "ImageBitmapRenderingContext", "Window", "WorkerGlobalScope", "WorkerNavigator", "Event", "EventTarget", ] [target."cfg(windows)".dependencies.hal] version = "23.0.1" features = ["renderdoc"] package = "wgpu-hal" [target."cfg(windows)".dependencies.wgc] version = "23.0.1" features = ["gles"] package = "wgpu-core"