mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 02:03:35 +00:00
95a760bb42
Co-authored-by: Teodor Tanasoaia <28601907+teoxoy@users.noreply.github.com> Closes https://github.com/gfx-rs/wgpu/issues/1888
39 lines
829 B
TOML
39 lines
829 B
TOML
[package]
|
|
name = "wgpu-types"
|
|
version = "0.14.0"
|
|
authors = ["wgpu developers"]
|
|
edition = "2021"
|
|
description = "WebGPU types"
|
|
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"]
|
|
|
|
[lib]
|
|
|
|
[features]
|
|
trace = ["serde"]
|
|
replay = ["serde"]
|
|
strict_asserts = []
|
|
|
|
[dependencies]
|
|
bitflags = "1"
|
|
serde = { version = "1", features = ["serde_derive"], optional = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
js-sys.workspace = true
|
|
web-sys = { workspace = true, features = [
|
|
"ImageBitmap",
|
|
"HtmlVideoElement",
|
|
"HtmlCanvasElement",
|
|
"OffscreenCanvas",
|
|
] }
|
|
|
|
[dev-dependencies]
|
|
serde = { version = "1", features = ["serde_derive"] }
|
|
serde_json = "1.0.85"
|