mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-29 02:03:35 +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.
19 lines
620 B
TOML
19 lines
620 B
TOML
# Copyright 2018-2022 the Deno authors. All rights reserved. MIT license.
|
|
|
|
[package]
|
|
name = "deno_webgpu"
|
|
version = "0.63.0"
|
|
authors = ["the Deno authors"]
|
|
edition = "2021"
|
|
license = "MIT"
|
|
readme = "README.md"
|
|
repository = "https://github.com/gfx-rs/wgpu"
|
|
description = "WebGPU implementation for Deno"
|
|
|
|
[dependencies]
|
|
deno_core = "0.144.0"
|
|
serde = { version = "1.0", features = ["derive"] }
|
|
tokio = { version = "1.19", features = ["full"] }
|
|
wgpu-core = { path = "../wgpu-core", features = ["trace", "replay", "serde", "strict_asserts"] }
|
|
wgpu-types = { path = "../wgpu-types", features = ["trace", "replay", "serde"] }
|