mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
6e21f7a929
Arcanization of wgpu_core resources --------- Co-authored-by: Elabajaba <Elabajaba@users.noreply.github.com> Co-authored-by: Niklas Korz <niklas@niklaskorz.de> Co-authored-by: grovesNL <josh@joshgroves.com> Co-authored-by: Jim Blandy <jimb@red-bean.com> Co-authored-by: Mauro Gentile <Mauro.Gentile@ubisoft.com> Co-authored-by: Sludge <96552222+SludgePhD@users.noreply.github.com>
68 lines
1.6 KiB
TOML
68 lines
1.6 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 = "gpu-tests"
|
|
path = "tests/gpu.rs"
|
|
harness = false
|
|
|
|
[[test]]
|
|
name = "cpu-tests"
|
|
path = "tests/cpu.rs"
|
|
|
|
[features]
|
|
webgl = ["wgpu/webgl"]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
arrayvec.workspace = true
|
|
bitflags.workspace = true
|
|
bytemuck.workspace = true
|
|
cfg-if.workspace = true
|
|
ctor.workspace = true
|
|
env_logger.workspace = true
|
|
futures-lite.workspace = true
|
|
heck.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
|
|
wgpu-macros.workspace = true
|
|
wgpu.workspace = true
|
|
wgt = { workspace = true, features = ["replay"] }
|
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
|
nv-flip.workspace = true
|
|
parking_lot = { workspace = true, features = ["deadlock_detection"] }
|
|
|
|
[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"] }
|
|
|
|
[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"] }
|