aboutsummaryrefslogtreecommitdiff
path: root/build/rapier2d
diff options
context:
space:
mode:
authorCrozet Sébastien <developer@crozet.re>2021-01-04 15:14:25 +0100
committerCrozet Sébastien <developer@crozet.re>2021-01-04 15:14:25 +0100
commitaa61fe65e3ff0289ecab57b4053a3410cf6d4a87 (patch)
treea2ab513f43d779e4eb1c0edcd2a6e734b3fa4470 /build/rapier2d
parenta1aa8855f76168d8af14244a54c9f28d15696342 (diff)
downloadrapier-aa61fe65e3ff0289ecab57b4053a3410cf6d4a87.tar.gz
rapier-aa61fe65e3ff0289ecab57b4053a3410cf6d4a87.tar.bz2
rapier-aa61fe65e3ff0289ecab57b4053a3410cf6d4a87.zip
Add support of 64-bits reals.
Diffstat (limited to 'build/rapier2d')
-rw-r--r--build/rapier2d/Cargo.toml7
1 files changed, 4 insertions, 3 deletions
diff --git a/build/rapier2d/Cargo.toml b/build/rapier2d/Cargo.toml
index 3bbb8f0..1729e6a 100644
--- a/build/rapier2d/Cargo.toml
+++ b/build/rapier2d/Cargo.toml
@@ -12,8 +12,9 @@ license = "Apache-2.0"
edition = "2018"
[features]
-default = [ "dim2" ]
+default = [ "dim2", "f32" ]
dim2 = [ ]
+f32 = [ ]
parallel = [ "rayon" ]
simd-stable = [ "simba/wide", "simd-is-enabled" ]
simd-nightly = [ "simba/packed_simd", "simd-is-enabled" ]
@@ -27,14 +28,14 @@ enhanced-determinism = [ "simba/libm_force", "cdl2d/enhanced-determinism", "inde
[lib]
name = "rapier2d"
path = "../../src/lib.rs"
-required-features = [ "dim2" ]
+required-features = [ "dim2", "f32" ]
[dependencies]
vec_map = "0.8"
instant = { version = "0.1", features = [ "now" ]}
num-traits = "0.2"
-nalgebra = "0.23"
+nalgebra = "0.24"
cdl2d = "0.1"
simba = "0.3"
approx = "0.4"