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.76"
name = "wgpu-types"
version = "22.0.0"
authors = ["gfx-rs developers"]
build = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "WebGPU types"
homepage = "https://wgpu.rs/"
readme = false
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]
name = "wgpu_types"
path = "src/lib.rs"
[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.128"
[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.70"
features = [
"ImageBitmap",
"ImageData",
"HtmlImageElement",
"HtmlVideoElement",
"HtmlCanvasElement",
"OffscreenCanvas",
"VideoFrame",
]