# 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-types" version = "0.16.0" authors = ["wgpu 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 = "2" [dependencies.serde] version = "1" features = ["serde_derive"] optional = true [dev-dependencies] serde_json = "1.0.96" [dev-dependencies.serde] version = "1" features = ["serde_derive"] [features] replay = ["serde"] strict_asserts = [] trace = ["serde"] [target."cfg(target_arch = \"wasm32\")".dependencies] js-sys = "0.3.60" [target."cfg(target_arch = \"wasm32\")".dependencies.web-sys] version = "0.3.60" features = [ "ImageBitmap", "HtmlVideoElement", "HtmlCanvasElement", "OffscreenCanvas", ]