wgpu/wgpu-types/Cargo.toml

45 lines
958 B
TOML
Raw Normal View History

[package]
name = "wgpu-types"
version = "0.16.0"
2022-12-15 20:46:28 +00:00
authors = ["wgpu developers"]
edition = "2021"
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"
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
2023-02-09 20:38:40 +00:00
targets = [
"x86_64-unknown-linux-gnu",
"x86_64-apple-darwin",
"x86_64-pc-windows-msvc",
"wasm32-unknown-unknown",
]
[lib]
2020-04-28 01:26:34 +00:00
[features]
trace = ["serde"]
replay = ["serde"]
2022-12-20 00:17:19 +00:00
strict_asserts = []
2020-04-28 01:26:34 +00:00
[dependencies]
bitflags = "2"
2022-12-15 20:46:28 +00:00
serde = { version = "1", features = ["serde_derive"], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys = "0.3.63"
web-sys = { version = "0.3.60", features = [
"ImageBitmap",
"HtmlVideoElement",
"HtmlCanvasElement",
"OffscreenCanvas",
] }
[dev-dependencies]
serde = { version = "1", features = ["serde_derive"] }
serde_json = "1.0.96"