Cargo Features
[dependencies]
all-is-cubes-render = { version = "0.8.0", default-features = false, features = ["std", "auto-threads", "raytracer"] }
See src/lib.rs documentation for more details on features.
- default = std
-
The
std
feature is set by default wheneverall-is-cubes-render
is added without
somewhere in the dependency tree.default-features = false - std default auto-threads?
-
Adds
std
-dependent functionality such as thread safety.Enables std of all-is-cubes
- auto-threads = std
-
Adds automatic parallelism to some algorithms. If disabled,
std::thread
is never used. If enabled, threads may be created and the activerayon
thread pool may be used.Enables rayon
- raytracer
-
Adds the
raytracer
module.Affects
all-is-cubes-render::raytracer
…