mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Add opt-in support for the 'puffin' profiler in eframe (#1483)
This commit is contained in:
@@ -37,6 +37,11 @@ persistence = [
|
||||
"epi/persistence",
|
||||
]
|
||||
|
||||
# Enable profiling with the puffin crate: https://github.com/EmbarkStudios/puffin
|
||||
# Only enabled on native, because of the low resolution (1ms) of time keeping in browsers.
|
||||
# eframe will call `puffin::GlobalProfiler::lock().new_frame()` for you
|
||||
puffin = ["egui_glow/puffin"]
|
||||
|
||||
# enable screen reader support (requires `ctx.options().screen_reader = true;`)
|
||||
screen_reader = [
|
||||
"egui-winit/screen_reader",
|
||||
@@ -74,5 +79,7 @@ image = { version = "0.24", default-features = false, features = [
|
||||
"png",
|
||||
] }
|
||||
poll-promise = "0.1"
|
||||
puffin = "0.13"
|
||||
puffin_http = "0.10"
|
||||
rfd = "0.8"
|
||||
three-d = { version = "0.11", default-features = false }
|
||||
|
||||
Reference in New Issue
Block a user