Profiling support (#743)
This commit is contained in:
@@ -20,7 +20,7 @@ edition = "2021"
|
||||
maintenance = { status = "actively-developed" }
|
||||
|
||||
[lib]
|
||||
name = "rapier_testbed3d"
|
||||
name = "rapier_testbed3d_f64"
|
||||
path = "../../src_testbed/lib.rs"
|
||||
required-features = ["dim3"]
|
||||
|
||||
@@ -36,9 +36,12 @@ rust.unexpected_cfgs = { level = "warn", check-cfg = [
|
||||
default = ["dim3"]
|
||||
dim3 = []
|
||||
parallel = ["rapier/parallel", "num_cpus"]
|
||||
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"]
|
||||
features = ["parallel", "profiling"]
|
||||
|
||||
[dependencies]
|
||||
nalgebra = { version = "0.33", features = ["rand", "glam027"] }
|
||||
@@ -57,7 +60,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, git = "https://github.com/Vrixyz/puffin.git", branch = "expose_ui_options" }
|
||||
|
||||
# Dependencies for native only.
|
||||
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user