This repository has been archived by the owner on Nov 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
63 lines (50 loc) · 2.08 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
[package]
name = "building-blocks"
version = "0.7.0"
edition = "2018"
authors = ["Duncan <bonsairobo@gmail.com>"]
description = "Data types, collections, and algorithms for working with maps on 2D and 3D integer lattices. Commonly known as voxel data."
license = "MIT"
repository = "https://github.com/bonsairobo/building-blocks"
keywords = ["voxel"]
[package.metadata.docs.rs]
all-features = true
[profile]
dev = { opt-level = 2 }
release = { lto = "thin" }
bench = { lto = "thin" }
[features]
default = ["lz4", "mesh", "sdfu", "search", "sled"]
# Optional crates.
mesh = ["building_blocks_mesh"]
search = ["building_blocks_search"]
# Integrations.
dot_vox = ["building_blocks_storage/dot_vox"]
vox-format = ["building_blocks_storage/vox-format-1", "building_blocks_core/vox-format"]
image = ["building_blocks_storage/image"]
sdfu = ["building_blocks_core/sdfu"]
sled = ["building_blocks_storage/sled"]
sled-snapshots = ["building_blocks_storage/sled-snapshots"]
trace = ["building_blocks_storage/tracing"]
# Math type conversions.
glam = ["building_blocks_core/glam"]
mint = ["building_blocks_core/mint"]
nalgebra = ["building_blocks_core/nalgebra"]
cgmath = ["building_blocks_core/cgmath"]
# Compression backends.
lz4 = ["building_blocks_storage/lz4"]
snappy = ["building_blocks_storage/snap"]
# Collisions with `OctreeSet` and `OctreeDBVT`.
ncollide = ["building_blocks_search/ncollide"]
[workspace]
members = ["crates/*"]
exclude = ["benches", "examples"]
# TODO: use RFC #2906 to deduplicate dependency specs once it is merged
[dependencies]
building_blocks_core = { path = "crates/building_blocks_core", version = "0.7.0", default-features = false }
building_blocks_storage = { path = "crates/building_blocks_storage", version = "0.7.0", default-features = false }
# Optional, feature-gated
building_blocks_mesh = { path = "crates/building_blocks_mesh", version = "0.7.0", default-features = false, optional = true }
building_blocks_search = { path = "crates/building_blocks_search", version = "0.7.0", default-features = false, optional = true }
[dev-dependencies]
utilities = { path = "crates/utilities" }