aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-03-03 10:19:19 +0100
committerCrozet Sébastien <developer@crozet.re>2021-03-03 10:19:19 +0100
commit6247b0d48ac36d826b7da0cbdca2d6e73f281de3 (patch)
tree0273c99838a2cdc6e95ba1693b7c640ba9f79939
parenta74097b4c6708d0108159328169f71e57ab6dd1b (diff)
downloadrapier-6247b0d48ac36d826b7da0cbdca2d6e73f281de3.tar.gz
rapier-6247b0d48ac36d826b7da0cbdca2d6e73f281de3.tar.bz2
rapier-6247b0d48ac36d826b7da0cbdca2d6e73f281de3.zip
Fix testbed compilation after the nalgebra release 0.6.1
-rw-r--r--build/rapier_testbed2d/Cargo.toml2
-rw-r--r--build/rapier_testbed3d/Cargo.toml2
2 files changed, 2 insertions, 2 deletions
diff --git a/build/rapier_testbed2d/Cargo.toml b/build/rapier_testbed2d/Cargo.toml
index 4c3872f..d31cdff 100644
--- a/build/rapier_testbed2d/Cargo.toml
+++ b/build/rapier_testbed2d/Cargo.toml
@@ -26,7 +26,7 @@ other-backends = [ "wrapped2d", "nphysics2d" ]
[dependencies]
-nalgebra = "0.25"
+nalgebra = { version = "0.25", features = [ "rand" ] }
kiss3d = { version = "0.30", features = [ "conrod" ] }
rand = "0.8"
rand_pcg = "0.3"
diff --git a/build/rapier_testbed3d/Cargo.toml b/build/rapier_testbed3d/Cargo.toml
index d14a1de..2a599a4 100644
--- a/build/rapier_testbed3d/Cargo.toml
+++ b/build/rapier_testbed3d/Cargo.toml
@@ -25,7 +25,7 @@ parallel = [ "rapier3d/parallel", "num_cpus" ]
other-backends = [ "physx", "physx-sys", "glam", "nphysics3d" ]
[dependencies]
-nalgebra = "0.25"
+nalgebra = { version = "0.25", features = [ "rand" ] }
kiss3d = { version = "0.30", features = [ "conrod" ] }
rand = "0.8"
rand_pcg = "0.3"