diff options
Diffstat (limited to 'build/rapier_testbed2d/Cargo.toml')
| -rw-r--r-- | build/rapier_testbed2d/Cargo.toml | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/build/rapier_testbed2d/Cargo.toml b/build/rapier_testbed2d/Cargo.toml index eb713aa..b501a1f 100644 --- a/build/rapier_testbed2d/Cargo.toml +++ b/build/rapier_testbed2d/Cargo.toml @@ -27,7 +27,6 @@ other-backends = [ "wrapped2d", "nphysics2d" ] [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" ]} @@ -42,6 +41,18 @@ bincode = "1" Inflector = "0.11" md5 = "0.7" +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.rapier2d] path = "../rapier2d" version = "0.8" |
