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:
@@ -32,6 +32,7 @@ ehttp = {workspace = true }
|
||||
mime_guess = { workspace = true }
|
||||
egui-winit = { workspace = true }
|
||||
tokenator = { workspace = true }
|
||||
profiling = { workspace = true }
|
||||
|
||||
[dev-dependencies]
|
||||
tempfile = { workspace = true }
|
||||
@@ -40,4 +41,4 @@ tempfile = { workspace = true }
|
||||
jni = { workspace = true }
|
||||
|
||||
[features]
|
||||
profiling = ["puffin", "puffin_egui"]
|
||||
puffin = ["puffin_egui", "dep:puffin"]
|
||||
|
||||
Reference in New Issue
Block a user