# 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" rust-version = "1.76" name = "wgpu-core" version = "23.0.0" authors = ["gfx-rs developers"] description = "WebGPU core logic on wgpu-hal" homepage = "https://wgpu.rs/" 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.bit-vec] version = "0.8" [dependencies.bitflags] version = "2.6" [dependencies.bytemuck] version = "1.19" optional = true [dependencies.document-features] version = "0.2.10" [dependencies.hal] version = "23.0.0" default-features = false package = "wgpu-hal" [dependencies.indexmap] version = "2" [dependencies.log] version = "0.4" [dependencies.naga] version = "23.0.0" [dependencies.once_cell] version = "1.20.2" [dependencies.parking_lot] version = "0.12.1" [dependencies.profiling] version = "1" default-features = false [dependencies.raw-window-handle] version = "0.6" optional = true [dependencies.ron] version = "0.8" optional = true [dependencies.rustc-hash] version = "1.1.0" [dependencies.serde] version = "1" features = ["derive"] optional = true [dependencies.smallvec] version = "1" [dependencies.thiserror] version = "1.0.65" [dependencies.wgt] version = "23.0.0" package = "wgpu-types" [build-dependencies.cfg_aliases] version = "0.1" [features] api_log_info = [] counters = ["wgt/counters"] dx12 = ["hal/dx12"] fragile-send-sync-non-atomic-wasm = [ "hal/fragile-send-sync-non-atomic-wasm", "wgt/fragile-send-sync-non-atomic-wasm", ] gles = ["hal/gles"] glsl = ["naga/glsl-in"] indirect-validation = ["naga/wgsl-in"] metal = ["hal/metal"] observe_locks = [ "dep:ron", "serde/serde_derive", ] raw-window-handle = ["dep:raw-window-handle"] renderdoc = ["hal/renderdoc"] replay = [ "serde", "naga/deserialize", ] resource_log_info = [] serde = [ "dep:serde", "wgt/serde", "arrayvec/serde", ] spirv = [ "naga/spv-in", "dep:bytemuck", ] strict_asserts = ["wgt/strict_asserts"] trace = [ "dep:ron", "serde", "naga/serialize", ] vulkan = ["hal/vulkan"] wgsl = ["naga/wgsl-in"]