Make theinstant dependency optional, behind a profiler cargo feature

This commit is contained in:
Sébastien Crozet
2022-05-31 11:49:36 +02:00
parent fb1bfc762c
commit 10ca3474e6
10 changed files with 29 additions and 15 deletions

View File

@@ -55,4 +55,4 @@ bevy = {version = "0.7", default-features = false, features = ["bevy_winit", "re
package = "rapier2d-f64"
path = "../rapier2d-f64"
version = "0.12.0"
features = [ "serde-serialize", "debug-render" ]
features = [ "serde-serialize", "debug-render", "profiler" ]