mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 02:03:35 +00:00
f825ce4ac2
* Fix Callback Ordering * Format & Changelog
52 lines
1.2 KiB
TOML
52 lines
1.2 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-tests"
|
|
path = "tests/root.rs"
|
|
|
|
[features]
|
|
webgl = ["wgpu/webgl"]
|
|
|
|
[dependencies]
|
|
bitflags.workspace = true
|
|
bytemuck.workspace = true
|
|
cfg-if.workspace = true
|
|
env_logger.workspace = true
|
|
log.workspace = true
|
|
parking_lot.workspace = true
|
|
png.workspace = true
|
|
pollster.workspace = true
|
|
wgpu.workspace = true
|
|
wgt.workspace = true
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
nv-flip.workspace = true
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
|
console_log.workspace = true
|
|
raw-window-handle.workspace = true
|
|
wasm-bindgen.workspace = true
|
|
web-sys = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
naga = { workspace = true, features = ["wgsl-in"] }
|
|
wasm-bindgen-test.workspace = true
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
|
image.workspace = true
|
|
js-sys.workspace = true
|
|
wasm-bindgen-futures.workspace = true
|
|
wasm-bindgen.workspace = true
|
|
web-sys = { workspace = true, features = ["CanvasRenderingContext2d", "Blob"] }
|