wgpu/wgpu-types/Cargo.toml

56 lines
1.4 KiB
TOML
Raw Normal View History

[package]
name = "wgpu-types"
2024-07-17 21:05:46 +00:00
version = "22.0.0"
authors = ["gfx-rs developers"]
2022-12-15 20:46:28 +00:00
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"
# 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-07-20 19:20:05 +00:00
rust-version = "1.76"
[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]
2022-12-20 00:17:19 +00:00
strict_asserts = []
fragile-send-sync-non-atomic-wasm = []
serde = ["dep:serde"]
# Enables some internal instrumentation for debugging purposes.
counters = []
2020-04-28 01:26:34 +00:00
[dependencies]
bitflags.workspace = true
serde = { workspace = true, features = ["derive"], optional = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
js-sys.workspace = true
web-sys = { workspace = true, features = [
"ImageBitmap",
"ImageData",
"HtmlImageElement",
"HtmlVideoElement",
"HtmlCanvasElement",
"OffscreenCanvas",
"VideoFrame",
] }
[dev-dependencies]
serde = { workspace = true, features = ["derive"] }
serde_json.workspace = true