diff options
| author | Thierry Berger <contact@thierryberger.com> | 2024-11-19 16:33:26 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-19 16:33:26 +0100 |
| commit | 510237cc29ebc667a8c158ef0340b7d1aa669a72 (patch) | |
| tree | 772daf3fac2e463eba254900001fce5a659f2f92 /crates/rapier_testbed3d | |
| parent | ff79f4c67478f8c8045464cac22f9e57388cd4a0 (diff) | |
| download | rapier-510237cc29ebc667a8c158ef0340b7d1aa669a72.tar.gz rapier-510237cc29ebc667a8c158ef0340b7d1aa669a72.tar.bz2 rapier-510237cc29ebc667a8c158ef0340b7d1aa669a72.zip | |
Profiling support (#743)
Diffstat (limited to 'crates/rapier_testbed3d')
| -rw-r--r-- | crates/rapier_testbed3d/Cargo.toml | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crates/rapier_testbed3d/Cargo.toml b/crates/rapier_testbed3d/Cargo.toml index a7a3fe8..2b536ab 100644 --- a/crates/rapier_testbed3d/Cargo.toml +++ b/crates/rapier_testbed3d/Cargo.toml @@ -34,9 +34,12 @@ default = ["dim3"] dim3 = [] parallel = ["rapier/parallel", "num_cpus"] other-backends = ["physx", "physx-sys", "glam"] +profiling = ["dep:puffin_egui", "profiling/profile-with-puffin"] +# See https://github.com/dimforge/rapier/issues/760. +unstable-puffin-pr-235 = [] [package.metadata.docs.rs] -features = ["parallel", "other-backends"] +features = ["parallel", "other-backends", "profiling"] [dependencies] nalgebra = { version = "0.33", features = ["rand", "glam027"] } @@ -58,7 +61,8 @@ bevy_ecs = "0.14" bevy_core_pipeline = "0.14" bevy_pbr = "0.14" bevy_sprite = "0.14" -#bevy_prototype_debug_lines = { version = "0.7", features = [ "3d" ] } +profiling = "1.0" +puffin_egui = { version = "0.29", optional = true } # Dependencies for native only. [target.'cfg(not(target_arch = "wasm32"))'.dependencies] |
