Cargo Features
vsvg-viewer has no features set by default.
[dependencies]
vsvg-viewer = { version = "0.5.0", features = ["puffin"] }
- puffin
-
Enables puffin and puffin_http, puffin of vsvg and puffin of eframe ^0.27.2 and egui ^0.27.2
eframe:
Enable profiling with the
puffin
crate.eframe
will callpuffin::GlobalProfiler::lock().new_frame()
for youOnly enabled on native, because of the low resolution (1ms) of clocks in browsers.
vsvg-viewer has 1 feature without comment.