2020-03-11 01:06:23 +00:00
|
|
|
[package]
|
|
|
|
name = "wgpu-types"
|
2023-01-26 00:25:41 +00:00
|
|
|
version = "0.15.0"
|
2022-12-15 20:46:28 +00:00
|
|
|
authors = ["wgpu developers"]
|
|
|
|
edition = "2021"
|
2020-03-11 01:06:23 +00:00
|
|
|
description = "WebGPU types"
|
2022-12-15 20:46:28 +00:00
|
|
|
homepage = "https://wgpu.rs/"
|
|
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
|
|
keywords = ["graphics"]
|
|
|
|
license = "MIT OR Apache-2.0"
|
2020-03-11 01:06:23 +00:00
|
|
|
|
2022-10-26 21:07:25 +00:00
|
|
|
[package.metadata.docs.rs]
|
|
|
|
all-features = true
|
|
|
|
rustdoc-args = ["--cfg", "docsrs"]
|
|
|
|
|
2020-03-11 01:06:23 +00:00
|
|
|
[lib]
|
|
|
|
|
2020-04-28 01:26:34 +00:00
|
|
|
[features]
|
2022-11-26 04:13:22 +00:00
|
|
|
trace = ["serde"]
|
|
|
|
replay = ["serde"]
|
2022-12-20 00:17:19 +00:00
|
|
|
strict_asserts = []
|
2020-04-28 01:26:34 +00:00
|
|
|
|
2020-03-11 01:06:23 +00:00
|
|
|
[dependencies]
|
2022-12-15 20:46:28 +00:00
|
|
|
bitflags = "1"
|
|
|
|
serde = { version = "1", features = ["serde_derive"], optional = true }
|
2022-09-29 17:43:50 +00:00
|
|
|
|
2023-01-24 18:44:15 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2023-01-31 11:28:42 +00:00
|
|
|
js-sys = "0.3.60"
|
|
|
|
web-sys = { version = "0.3.60", features = [
|
2023-01-24 18:44:15 +00:00
|
|
|
"ImageBitmap",
|
|
|
|
"HtmlVideoElement",
|
|
|
|
"HtmlCanvasElement",
|
|
|
|
"OffscreenCanvas",
|
|
|
|
] }
|
|
|
|
|
2022-09-29 17:43:50 +00:00
|
|
|
[dev-dependencies]
|
2022-12-21 18:17:05 +00:00
|
|
|
serde = { version = "1", features = ["serde_derive"] }
|
2022-12-15 20:46:28 +00:00
|
|
|
serde_json = "1.0.85"
|