aboutsummaryrefslogtreecommitdiff
path: root/crates/rapier3d/Cargo.toml
diff options
context:
space:
mode:
Diffstat (limited to 'crates/rapier3d/Cargo.toml')
-rw-r--r--crates/rapier3d/Cargo.toml3
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/rapier3d/Cargo.toml b/crates/rapier3d/Cargo.toml
index b6364ea..e44f372 100644
--- a/crates/rapier3d/Cargo.toml
+++ b/crates/rapier3d/Cargo.toml
@@ -29,6 +29,7 @@ wasm-bindgen = [ "instant/wasm-bindgen" ]
serde-serialize = [ "nalgebra/serde-serialize", "parry3d/serde-serialize", "serde", "bit-vec/serde" ]
enhanced-determinism = [ "simba/libm_force", "parry3d/enhanced-determinism" ]
debug-render = [ ]
+profiler = [ "instant" ] # Enables the internal profiler.
# Feature used for debugging only.
debug-disable-legitimate-fe-exceptions = [ ]
@@ -45,7 +46,7 @@ required-features = [ "dim3", "f32" ]
[dependencies]
vec_map = { version = "0.8", optional = true }
-instant = { version = "0.1", features = [ "now" ]}
+instant = { version = "0.1", features = [ "now" ], optional = true }
num-traits = "0.2"
nalgebra = "0.31"
parry3d = "0.9"