Source code

Revision control

Copy as Markdown

Other Tools

# 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.74"
name = "wgpu-types"
version = "0.19.2"
authors = ["gfx-rs developers"]
description = "WebGPU types"
homepage = "https://wgpu.rs/"
keywords = ["graphics"]
license = "MIT OR Apache-2.0"
[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.116"
[dev-dependencies.serde]
version = "1"
features = ["serde_derive"]
[features]
fragile-send-sync-non-atomic-wasm = []
strict_asserts = []
[target."cfg(target_arch = \"wasm32\")".dependencies]
js-sys = "0.3.69"
[target."cfg(target_arch = \"wasm32\")".dependencies.web-sys]
version = "0.3.69"
features = [
"ImageBitmap",
"HtmlVideoElement",
"HtmlCanvasElement",
"OffscreenCanvas",
]