# 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.65" name = "li-wgpu-core" version = "0.18.1" authors = ["wgpu 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.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.6" [dependencies.bitflags] version = "2" [dependencies.codespan-reporting] version = "0.11" [dependencies.hal] version = "0.18.0" default_features = false package = "li-wgpu-hal" [dependencies.log] version = "0.4" [dependencies.naga] version = "0.14.0" features = [ "clone", "span", "validate", ] [dependencies.parking_lot] version = ">=0.11,<0.13" [dependencies.profiling] version = "1" default-features = false [dependencies.raw-window-handle] version = "0.5" optional = true [dependencies.ron] version = "0.8" optional = true [dependencies.rustc-hash] version = "1.1" [dependencies.serde] version = "1" features = ["serde_derive"] optional = true [dependencies.smallvec] version = "1" [dependencies.thiserror] version = "1" [dependencies.wgt] version = "0.18.0" package = "wgpu-types" [features] default = ["link"] dx11 = ["hal/dx11"] 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"] id32 = [] link = ["hal/link"] metal = ["hal/metal"] renderdoc = ["hal/renderdoc"] replay = [ "serde", "wgt/replay", "arrayvec/serde", "naga/deserialize", ] serial-pass = [ "serde", "wgt/serde", "arrayvec/serde", ] strict_asserts = ["wgt/strict_asserts"] trace = [ "ron", "serde", "wgt/trace", "arrayvec/serde", "naga/serialize", ] vulkan = ["hal/vulkan"] wgsl = ["naga/wgsl-in"] [target."cfg(all(target_arch = \"wasm32\", not(target_os = \"emscripten\")))".dependencies.web-sys] version = "0.3.65" features = [ "HtmlCanvasElement", "OffscreenCanvas", ]