-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathCargo.toml
More file actions
56 lines (48 loc) · 1.57 KB
/
Copy pathCargo.toml
File metadata and controls
56 lines (48 loc) · 1.57 KB
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
[package]
name = "nexus_examples_3d"
version = "0.5.0"
authors = ["Sébastien Crozet <developer@crozet.re>"]
edition = { workspace = true }
publish = false
[features]
default = []
cpu = ["nexus_viewer3d/cpu"]
cpu-parallel = ["cpu", "nexus_viewer3d/cpu-parallel"]
cuda = ["nexus_viewer3d/cuda"]
metal = ["nexus_viewer3d/metal"]
[dependencies]
glamx = { workspace = true }
nexus3d = { workspace = true, features = [ "rbd", "mpm" ] }
nexus_viewer3d = { workspace = true }
nexus_rbd3d = { workspace = true, features = ["default"] } # TODO: remove this
rapier3d = { workspace = true, features = ["default"] }
khal = { workspace = true }
vortx = { workspace = true }
Inflector = { workspace = true }
kiss3d = { workspace = true }
oorandom = { workspace = true }
rand = "0.10"
pollster = { workspace = true }
env_logger = "0.11"
anyhow = { workspace = true }
[target.'cfg(target_arch = "wasm32")'.dependencies]
getrandom = { workspace = true }
# The URDF/MJCF robot loaders read their assets from the filesystem, so the
# corresponding demos are native-only.
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
rapier3d-urdf = { workspace = true, features = ["stl"] }
rapier3d-mjcf = { workspace = true }
[[bin]]
name = "all_examples3"
path = "all_examples3.rs"
# TODO: the bench harnesses below still use the removed `SimulationState`
# viewer API; re-enable them once they are ported to `NexusState`.
#[[bin]]
#name = "bench_multibody_pendulum3"
#path = "bench_multibody_pendulum3.rs"
#[[bin]]
#name = "bench_urdf3"
#path = "bench_urdf3.rs"
#[[bin]]
#name = "bench_joints3"
#path = "bench_joints3.rs"