mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
This will make it easier for contributors to understand the file layout,
at the cost of said layout containing several more nested directories.
I will personally appreciate not having to remember to look for
`root.rs` instead of `main.rs`.
I also renamed the test targets so that they do not *all* share the
superfluous suffix “-test” (test targets live in a different namespace
than other target types and packages, so the name can presume that it
is always known that they are tests).
The Naga snapshot data sets `naga/tests/{in,out}` have been left in
their original positions.
48 lines
918 B
TOML
48 lines
918 B
TOML
[package]
|
|
name = "player"
|
|
version.workspace = true
|
|
authors.workspace = true
|
|
edition.workspace = true
|
|
description = "WebGPU trace player"
|
|
homepage.workspace = true
|
|
repository.workspace = true
|
|
keywords.workspace = true
|
|
license.workspace = true
|
|
rust-version.workspace = true
|
|
publish = false
|
|
|
|
[lib]
|
|
test = false
|
|
|
|
[[bin]]
|
|
name = "play"
|
|
test = false
|
|
|
|
[dependencies]
|
|
wgpu-types = { workspace = true, features = ["serde"] }
|
|
|
|
env_logger.workspace = true
|
|
log.workspace = true
|
|
raw-window-handle.workspace = true
|
|
ron.workspace = true
|
|
winit = { workspace = true, optional = true }
|
|
|
|
# Non-Webassembly
|
|
#
|
|
# We are a non-wasm only crate, and this allows us to compile.
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies.wgpu-core]
|
|
workspace = true
|
|
features = [
|
|
"replay",
|
|
"raw-window-handle",
|
|
"strict_asserts",
|
|
"wgsl",
|
|
"metal",
|
|
"dx12",
|
|
"vulkan",
|
|
"gles",
|
|
]
|
|
|
|
[dev-dependencies]
|
|
serde.workspace = true
|