diff options
Diffstat (limited to 'build/rapier_testbed3d/Cargo.toml')
| -rw-r--r-- | build/rapier_testbed3d/Cargo.toml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/build/rapier_testbed3d/Cargo.toml b/build/rapier_testbed3d/Cargo.toml index ea10307..0038fa8 100644 --- a/build/rapier_testbed3d/Cargo.toml +++ b/build/rapier_testbed3d/Cargo.toml @@ -26,7 +26,6 @@ other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ] [dependencies] nalgebra = { version = "0.26", features = [ "rand" ] } -kiss3d = { version = "0.31", features = [ "conrod" ] } rand = "0.8" rand_pcg = "0.3" instant = { version = "0.1", features = [ "web-sys", "now" ]} @@ -44,7 +43,19 @@ md5 = "0.7" Inflector = "0.11" serde = { version = "1", features = [ "derive" ] } +bevy_egui = "0.4" +bevy-orbit-controls = "2" + +# Dependencies for native only. +[target.'cfg(not(target_arch = "wasm32"))'.dependencies] +bevy = {version = "0.5", default-features = false, features = ["bevy_wgpu", "bevy_winit", "render", "x11"]} + +# Dependencies for WASM only. +[target.'cfg(target_arch = "wasm32")'.dependencies] +bevy = {version = "0.5", default-features = false, features = ["bevy_winit", "render"]} +bevy_webgl2 = "0.5" + [dependencies.rapier3d] path = "../rapier3d" version = "0.8" -features = [ "serde-serialize" ] +features = [ "serde-serialize" ]
\ No newline at end of file |
