Cargo Features

[dependencies]
building-blocks = { version = "0.7.1", default-features = false, features = ["mesh", "search", "dot_vox", "image", "sdfu", "glam", "mint", "nalgebra", "lz4", "snappy", "ncollide"] }
default = lz4, mesh, sdfu, search

These default features are set whenever building-blocks is added without default-features = false somewhere in the dependency tree.

mesh default = building_blocks_mesh

Optional crates.

dot_vox

Integrations.

Enables dot_vox of building_blocks_storage

Required by the measure_compression_rate binary

image

Enables image of building_blocks_storage

sdfu default

Enables sdfu of building_blocks_core

glam

Math type conversions.

Enables glam of building_blocks_core

mint

Enables mint of building_blocks_core

nalgebra

Enables nalgebra of building_blocks_core

lz4 default

Compression backends.

Enables lz4 of building_blocks_storage

Required by the measure_compression_rate binary

snappy

Enables snap of building_blocks_storage

Required by the measure_compression_rate binary

ncollide

Collisions with OctreeSet and OctreeDBVT.

Enables ncollide of building_blocks_search

Features from optional dependencies

In crates that don't use the dep: syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.

TODO: use RFC #2906 to deduplicate dependency specs once it is merged

building_blocks_mesh mesh

Enables building_blocks_mesh

Optional, feature-gated