-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
115 lines (100 loc) · 2.93 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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[package]
name = "physics"
version = "0.1.0"
edition = "2021"
[features]
inspector = [
"bevy-inspector-egui",
"editor/inspector"
# "bevy-inspector-egui-rapier"
]
default = ["inspector", "atmosphere"]
# default = []
atmosphere = ["bevy_atmosphere"]
[workspace.dependencies]
log = "0.4"
anyhow = { version = "1" }
serde = { version = "1", features = ["derive"] }
serde_json = { version = "1" }
serde_yaml = "0.9"
ron = "0.8"
flexbuffers = "2"
gltf = "*"
bitflags = "2"
quick-xml = { version = "0.26", features = ["serialize"] }
zip = { version = "0.6", default-features = false, features = ["deflate"] }
clap = { version = "4", features = ["derive"] }
image = "0.24"
env_logger = "0.10"
dialoguer = "0.10"
console = "0.15"
rayon = "1"
arrayvec = "0.7"
thiserror = "1"
sled = {version = "0.34.7"}
###
# bevy related dependencies
bevy = { version = "0.14", features = ["dynamic_linking"] }
bevy_rapier3d = { version = "0.27", features = [
"debug-render",
"serde-serialize",
] }
bevy-inspector-egui = { version = "0.27" }
bevy_egui = "0.30"
wgpu = "0.20"
parry3d = "0.16"
# frequently cause churn on bevy updates
bevy_atmosphere = { version = "0.10" }
bevy_mod_mipmap_generator = { git = "https://github.com/DGriffin91/bevy_mod_mipmap_generator.git" }
[dependencies]
bevy = { workspace = true, features = ["dynamic_linking"] }
wgpu = {workspace = true}
bevy-inspector-egui = { workspace = true, optional = true }
log = { workspace = true }
anyhow = { workspace = true }
serde = { workspace = true, features = ["derive"] }
serde_json = { workspace = true }
serde_yaml = { workspace = true }
ron = { workspace = true }
flexbuffers = { workspace = true }
bevy_rapier3d = { workspace = true, features = [
"debug-render",
"serde-serialize",
] }
gltf = { workspace = true }
bevy_atmosphere = { workspace = true, optional = true }
bevy_mod_mipmap_generator = { workspace = true }
bitflags = { workspace = true }
quick-xml = { workspace = true, features = ["serialize"] }
zip = { workspace = true, default-features = false, features = ["deflate"] }
clap = { workspace = true, features = ["derive"] }
image = { workspace = true }
env_logger = { workspace = true }
dialoguer = { workspace = true }
console = { workspace = true }
rayon = { workspace = true }
bevy_egui = { workspace = true }
arrayvec = { workspace = true }
thiserror = { workspace = true }
csg = { path = "crates/csg" }
sstree = { path = "crates/sstree" }
material = { path = "crates/material" }
shared = { path = "crates/shared" }
editor = { path = "crates/editor" }
[patch.crates-io]
#bevy_rapier3d = { path = "ext/bevy_rapier/bevy_rapier3d" }
#rapier3d = { path = "ext/rapier/crates/rapier3d" }
# bevy = { path = "ext/bevy" }
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[workspace]
members = [
"crates/csg",
"crates/sstree",
"crates/material",
"crates/shared",
"crates/editor",
]