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 whenever wgpu-types is added without default-features = false somewhere in the dependency tree.

std default

Enables std of js-sys and web-sys

strict_asserts fragile-send-sync-non-atomic-wasm
serde

Enables serde

counters

Enables some internal instrumentation for debugging purposes.