-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCargo.toml
64 lines (50 loc) · 1.76 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
64
[package]
name = "gaiku"
version = "0.1.0"
authors = ["Norman Paniagua <normanpaniagua@gmail.com>"]
edition = "2018"
description = "3d agnostic framework (game engine) terrain engine."
exclude = ["examples/*", "integrations/*/examples/*"]
keywords = ["3d", "terrain", "engine", "gaiku"]
categories = ["game-engines"]
resolver = "2"
[features]
default = ["voxel"]
heightmap = ["gaiku_baker_heightmap"]
marching_cubes = ["gaiku_baker_marching_cubes", "gaiku_baker_modified_marching_cubes"]
voxel = ["gaiku_baker_voxel"]
gox = ["gaiku_format_gox"]
png = ["gaiku_format_png"]
export = ["gaiku_common/export"]
serialization = ["gaiku_common/serialization"]
[dependencies]
gaiku_common = { path = "crates/gaiku_common", version = "0.1.0" }
# Bakers
gaiku_baker_heightmap = { path = "crates/gaiku_baker_heightmap", version = "0.1.0", optional = true }
gaiku_baker_marching_cubes = { path = "crates/gaiku_baker_marching_cubes", version = "0.1.0", optional = true }
gaiku_baker_modified_marching_cubes = { path = "crates/gaiku_baker_modified_marching_cubes", version = "0.1.0", optional = true }
gaiku_baker_voxel = { path = "crates/gaiku_baker_voxel", version = "0.1.0", optional = true }
# File formats
gaiku_format_gox = { path = "crates/gaiku_format_gox", version = "0.1.0", optional = true }
gaiku_format_png = { path = "crates/gaiku_format_png", version = "0.1.0", optional = true }
[dev-dependencies]
obj-exporter = "0.2.0"
[workspace]
members = [
"crates/*",
"integrations/*",
]
[profile.release]
lto = true
[[example]]
name = "heightmap"
required-features = ["heightmap", "gox"]
[[example]]
name = "marching_cubes"
required-features = ["marching_cubes", "gox"]
[[example]]
name = "voxel"
required-features = ["voxel", "gox"]
[[example]]
name = "texture"
required-features = ["png"]