# 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-types" version = "23.0.0" authors = ["gfx-rs developers"] description = "WebGPU types" 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.bitflags] version = "2.6" [dependencies.serde] version = "1" features = ["derive"] optional = true [dev-dependencies.serde] version = "1" features = ["derive"] [dev-dependencies.serde_json] version = "1.0.132" [features] counters = [] fragile-send-sync-non-atomic-wasm = [] serde = ["dep:serde"] strict_asserts = [] [target."cfg(target_arch = \"wasm32\")".dependencies.js-sys] version = "0.3.70" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.72" features = [ "ImageBitmap", "ImageData", "HtmlImageElement", "HtmlVideoElement", "HtmlCanvasElement", "OffscreenCanvas", "VideoFrame", ]