mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
7600c61b72
Replace manual enumerations of various `enum`s with `derive`d ones via `strum::{EnumIter, IntoEnumIterator}`.
60 lines
1.5 KiB
TOML
60 lines
1.5 KiB
TOML
[package]
|
|
name = "wgpu-test"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "common code for wgpu tests"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
autotests = false
|
|
publish = false
|
|
|
|
[[test]]
|
|
name = "wgpu-test"
|
|
path = "tests/root.rs"
|
|
harness = false
|
|
|
|
[features]
|
|
webgl = ["wgpu/webgl"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
arrayvec.workspace = true
|
|
bitflags.workspace = true
|
|
bytemuck.workspace = true
|
|
cfg-if.workspace = true
|
|
ctor.workspace = true
|
|
futures-lite.workspace = true
|
|
libtest-mimic.workspace = true
|
|
log.workspace = true
|
|
parking_lot.workspace = true
|
|
png.workspace = true
|
|
pollster.workspace = true
|
|
profiling.workspace = true
|
|
serde_json.workspace = true
|
|
serde.workspace = true
|
|
strum = { workspace = true, features = ["derive"] }
|
|
wgpu-macros.workspace = true
|
|
wgpu.workspace = true
|
|
wgt = { workspace = true, features = ["serde"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
env_logger.workspace = true
|
|
nv-flip.workspace = true
|
|
parking_lot = { workspace = true, features = ["deadlock_detection"] }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_log.workspace = true
|
|
wasm-bindgen.workspace = true
|
|
web-sys = { workspace = true }
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
image.workspace = true
|
|
js-sys.workspace = true
|
|
wasm-bindgen-futures.workspace = true
|
|
wasm-bindgen-test.workspace = true
|
|
wasm-bindgen.workspace = true
|
|
web-sys = { workspace = true, features = ["CanvasRenderingContext2d", "Blob"] }
|