Cargo Features
[dependencies]
wgpu-types = { version = "24.0.0", default-features = false, features = ["std", "fragile-send-sync-non-atomic-wasm", "serde", "counters"] }
- default = std
-
The
std
feature is set by default wheneverwgpu-types
is added without
somewhere in the dependency tree.default-features = false - std default
- strict_asserts fragile-send-sync-non-atomic-wasm
- serde
-
Enables serde
- counters
-
Enables some internal instrumentation for debugging purposes.