2020-03-11 01:06:23 +00:00
|
|
|
[package]
|
|
|
|
name = "wgpu-types"
|
2024-07-17 21:05:46 +00:00
|
|
|
version = "22.0.0"
|
2023-10-27 04:15:51 +00:00
|
|
|
authors = ["gfx-rs developers"]
|
2022-12-15 20:46:28 +00:00
|
|
|
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
|
|
|
|
2023-10-04 01:03:32 +00:00
|
|
|
# Override the workspace's `rust-version` key. Firefox uses `cargo vendor` to
|
|
|
|
# copy the crates it actually uses out of the workspace, so it's meaningful for
|
|
|
|
# them to have less restrictive MSRVs individually than the workspace as a
|
|
|
|
# whole, if their code permits. See `../README.md` for details.
|
2024-03-14 17:00:43 +00:00
|
|
|
rust-version = "1.74"
|
2023-10-04 01:03:32 +00:00
|
|
|
|
2022-10-26 21:07:25 +00:00
|
|
|
[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",
|
|
|
|
]
|
2022-10-26 21:07:25 +00:00
|
|
|
|
2020-03-11 01:06:23 +00:00
|
|
|
[lib]
|
|
|
|
|
2020-04-28 01:26:34 +00:00
|
|
|
[features]
|
2022-12-20 00:17:19 +00:00
|
|
|
strict_asserts = []
|
2023-06-29 20:31:18 +00:00
|
|
|
fragile-send-sync-non-atomic-wasm = []
|
2024-06-24 09:20:10 +00:00
|
|
|
# Enables some internal instrumentation for debugging purposes.
|
|
|
|
counters = []
|
2020-04-28 01:26:34 +00:00
|
|
|
|
2020-03-11 01:06:23 +00:00
|
|
|
[dependencies]
|
2023-04-05 22:24:59 +00:00
|
|
|
bitflags = "2"
|
2024-07-11 09:08:11 +00:00
|
|
|
serde = { version = "1", features = ["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]
|
2024-03-14 17:00:43 +00:00
|
|
|
js-sys = "0.3.69"
|
|
|
|
web-sys = { version = "0.3.69", features = [
|
2023-01-24 18:44:15 +00:00
|
|
|
"ImageBitmap",
|
|
|
|
"HtmlVideoElement",
|
|
|
|
"HtmlCanvasElement",
|
|
|
|
"OffscreenCanvas",
|
|
|
|
] }
|
|
|
|
|
2022-09-29 17:43:50 +00:00
|
|
|
[dev-dependencies]
|
2024-07-11 09:08:11 +00:00
|
|
|
serde = { version = "1", features = ["derive"] }
|
2024-07-14 20:14:40 +00:00
|
|
|
serde_json = "1.0.120"
|