mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 06:40:06 -04:00
Add opt-in support for the 'puffin' profiler in eframe (#1483)
This commit is contained in:
@@ -47,6 +47,9 @@ persistence = [
|
||||
"epi?/persistence",
|
||||
]
|
||||
|
||||
# Enable profiling with the puffin crate: https://github.com/EmbarkStudios/puffin
|
||||
puffin = ["dep:puffin", "egui-winit?/puffin"]
|
||||
|
||||
# experimental support for a screen reader
|
||||
screen_reader = ["egui-winit?/screen_reader"]
|
||||
|
||||
@@ -72,6 +75,7 @@ egui-winit = { version = "0.17.0", path = "../egui-winit", optional = true, defa
|
||||
"epi_backend",
|
||||
] }
|
||||
glutin = { version = "0.28.0", optional = true }
|
||||
puffin = { version = "0.13", optional = true }
|
||||
|
||||
# Web:
|
||||
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user