-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCargo.toml
95 lines (85 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
[package]
name = "steadyum"
version = "0.1.0"
authors = ["Sébastien Crozet <[email protected]>"]
description = "3-dimensional physics sandbox."
documentation = "http://docs.rs/steadyum3d"
homepage = "http://rapier.rs"
repository = "https://github.com/dimforge/steadyum"
readme = "README.md"
keywords = ["physics", "dynamics", "rigid", "real-time", "joints"]
license = "Apache-2.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[[bin]]
name = "steadyum"
[features]
default = []
dim3 = ["rapier3d", "bevy_rapier3d"]
dim2 = ["rapier2d", "bevy_rapier2d"]
parallel = ["bevy_rapier2d?/parallel", "bevy_rapier3d?/parallel"]
simd-stable = ["bevy_rapier2d?/simd-stable", "bevy_rapier3d?/simd-stable"]
wasm-bindgen = ["bevy_rapier2d?/wasm-bindgen", "bevy_rapier3d?/wasm-bindgen"]
simd-nightly = ["bevy_rapier2d?/simd-nightly", "bevy_rapier3d?/simd-nightly"]
serde-serialize = [
"bevy_rapier2d?/serde-serialize",
"bevy_rapier3d?/serde-serialize",
]
enhanced-determinism = [
"bevy_rapier2d?/enhanced-determinism",
"bevy_rapier3d?/enhanced-determinism",
]
voxels = ["dot_vox"]
[dependencies]
nalgebra = { version = "0.33", features = ["convert-glam027"] }
# Don't enable the default features because we don't need the ColliderSet/RigidBodySet
rapier3d = { version = "0.21", optional = true, features = ["profiler"] }
bevy_rapier3d = { version = "0.27", optional = true, features = [
"serde-serialize",
] }
rapier2d = { version = "0.21", optional = true, features = ["profiler"] }
bevy_rapier2d = { version = "0.27", optional = true, features = [
"serde-serialize",
] }
bitflags = "1"
strum = "0.26"
strum_macros = "0.26"
image = "0.24"
winit = "0.30"
log = "0.4"
oorandom = "11"
bytemuck = "1"
serde = "1"
bincode = "1"
serde_json = "1"
noise = "0.9"
sled = "0.34"
clap = { version = "4", features = ["derive"] }
anyhow = "1"
dashmap = "5"
uuid = "1"
dot_vox = { version = "5", optional = true }
instant = "0.1"
bevy = { version = "0.14", features = ["serialize"] }
bevy_egui = "0.28"
#bevy_stl = "0.7"
bevy_obj = "0.14"
bevy_polyline = "0.10"
bevy_prototype_lyon = "0.12"
bevy_infinite_grid = "0.13"
# Not compatible with WASM
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
native-dialog = "0.7" # For opening mesh files.
[profile.release]
debug = true
[patch.crates-io]
#nalgebra = { git = "https://github.com/dimforge/nalgebra", branch = "additional-glam-conversion"}
#nalgebra = { path = "../nalgebra" }
#parry2d = { path = "../parry/crates/parry2d" }
#parry3d = { path = "../parry/crates/parry3d" }
#rapier2d = { path = "../rapier/crates/rapier2d" }
#rapier3d = { path = "../rapier/crates/rapier3d" }
#bevy_rapier2d = { path = "../bevy_rapier/bevy_rapier2d" }
#bevy_rapier3d = { path = "../bevy_rapier/bevy_rapier3d" }
#bevy_rapier2d = { git = "https://github.com/dimforge/bevy_rapier", branch = "gosim" }
#bevy_rapier3d = { git = "https://github.com/dimforge/bevy_rapier", branch = "gosim" }