Cargo Features
[dependencies]
wgpu-types = { version = "28.0.0", default-features = false, features = ["std", "strict_asserts", "fragile-send-sync-non-atomic-wasm", "serde", "counters", "trace", "web"] }
- default = std
-
The
stdfeature is set by default wheneverwgpu-typesis added withoutsomewhere in the dependency tree.default-features = false - std default trace?
- strict_asserts
- fragile-send-sync-non-atomic-wasm
-
Affects
send_sync::WasmNotSend,send_sync::WasmNotSync… - serde
- counters
-
Enables some internal instrumentation for debugging purposes.
- trace = std
-
Enables variants of
Traceother thanTrace::Off - web
-
Enable web-specific dependencies for wasm.
Affects
external_image::CopyExternalImageSourceInfo,external_image::ExternalImageSource…