Cargo Features
truck-platform has no features set by default.
[dependencies]
truck-platform = { version = "0.5.0", features = ["webgl", "wgpu_trace"] }
- webgl
-
Enables webgl of wgpu ^0.14.2
wgpu:
Enables the GLES backend on Wasm
* ⚠️ WIP: Currently will also enable GLES dependencies on any other targets. - wgpu_trace
-
Enables trace of wgpu ^0.14.2
wgpu:
Allow writing of trace capture files. See
Adapter::request_device
.
truck-platform has 2 features without comments.