switch to profiling crates
This switches to the profiling crate for compatible profiling between rust libraries. To enable: $ cargo build --release --features puffin Feel free to experiment with other profiling backends as well! Would be great to get tracy working.
This commit is contained in:
@@ -49,6 +49,7 @@ uuid = { workspace = true }
|
||||
sha2 = { workspace = true }
|
||||
base64 = { workspace = true }
|
||||
egui-winit = { workspace = true }
|
||||
profiling = { workspace = true }
|
||||
|
||||
[target.'cfg(any(target_os = "windows", target_os = "macos", target_os = "linux"))'.dependencies]
|
||||
rfd = "0.15"
|
||||
@@ -62,5 +63,5 @@ security-framework = "2.11.0"
|
||||
|
||||
[features]
|
||||
default = []
|
||||
profiling = ["puffin", "puffin_egui"]
|
||||
puffin = ["dep:puffin", "profiling/profile-with-puffin"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user