Cargo Features
[dependencies]
all-is-cubes = { version = "0.7.1", default-features = false, features = ["std", "arbitrary", "save", "rerun", "threads"] }
See src/lib.rs documentation for more details on features.
- default = std
-
The
std
feature is set by default wheneverall-is-cubes
is added without
somewhere in the dependency tree.default-features = false - std default rerun? threads?
-
Adds std-dependent functionality such as thread safety.
Enables once_cell, std of arcstr, sync of yield-progress
Affects
chunking::reset_chunk_chart_cache
,util::assert_conditional_send_sync
… - arbitrary
-
Adds
impl arbitrary::Arbitrary for ...
Note: Not using euclid/arbitrary because it's brokenEnables arbitrary, arbitrary of ordered-float
- save
-
Adds serde implementations.
Enables flate2, extern_crate_std of bytemuck, serde of ordered-float and base64 ^0.21.0
used in serialization
and serde and serde_repr
serde:
rc feature needed because we are [de]serializing
Arc
s alloc feature needed for #[serde(flatten)] — https://github.com/serde-rs/serde/issues/1935Affects
uref::URefErased.fix_deserialized
… - rerun = std
-
Adds rerun logging support
Enables re_log_types ^0.12.0, re_sdk ^0.12.0, and re_types ^0.12.0
re_log_types:
re_sdk is a data-logging and visualization tool; we are currently using it _only_ for development of All is Cubes itself.
Affects
all-is-cubes::rerun_glue
… - threads = std
-
Adds automatic parallelism to some algorithms. If disabled,
std::thread
is never used.Enables rayon