mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-25 16:24:24 +00:00
d655017439
Since `wgpu-core`'s public functions are supposed to validate their parameters, the internal `track` module skips many of Rust's usual run-time checks in release builds. However, some `wgpu-core` users are happy to pay the performance cost in exchange for more safety. The `"strict_asserts"` feature causes `wgpu_core` to perform the same checks in release builds as it does in debug builds.
36 lines
700 B
TOML
36 lines
700 B
TOML
[package]
|
|
name = "player"
|
|
version = "0.1.0"
|
|
authors = [
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
|
]
|
|
edition = "2021"
|
|
description = "WebGPU trace player"
|
|
homepage = "https://github.com/gfx-rs/wgpu"
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
keywords = ["graphics"]
|
|
license = "MIT OR Apache-2.0"
|
|
publish = false
|
|
|
|
[features]
|
|
|
|
[dependencies]
|
|
env_logger = "0.9"
|
|
log = "0.4"
|
|
raw-window-handle = "0.5"
|
|
ron = "0.7"
|
|
winit = { version = "0.27", optional = true }
|
|
|
|
[dependencies.wgt]
|
|
path = "../wgpu-types"
|
|
package = "wgpu-types"
|
|
features = ["replay"]
|
|
|
|
[dependencies.wgc]
|
|
path = "../wgpu-core"
|
|
package = "wgpu-core"
|
|
features = ["replay", "raw-window-handle", "strict_asserts"]
|
|
|
|
[dev-dependencies]
|
|
serde = "1"
|