Cargo Features

all-is-cubes-gpu has no features set by default.

[dependencies]
all-is-cubes-gpu = { version = "0.10.0", features = ["rerun", "auto-threads", "wgpu"] }
rerun

Adds support for render info logging to Rerun.

Enables rerun of all-is-cubes and all-is-cubes-mesh

Affects common::RerunFilter

auto-threads

Adds automatic parallelism to some algorithms. If disabled, std::thread is never used. If enabled, threads may be created and the active rayon thread pool may be used.

Enables rayon, auto-threads of all-is-cubes-mesh and all-is-cubes-render

_special_testing

Makes certain internal items public. This feature is intended only for use when developing All is Cubes, to compile certain fuzzing, benchmark, and example targets. It is not necessary to enable this feature to run the complete cargo test test suite.

Enables visibility

Affects common::octree_alloc

Features from optional dependencies

wgpu wasm implicit feature

Enables wgpu ^27.0.0

std feature is needed for wgpu::util::StagingBelt wgsl feature is needed because our shaders are written in WGSL