Cargo Features
vsvg-cli has no features set by default.
[dependencies]
vsvg-cli = { version = "0.5.0", features = ["puffin", "dhat-heap", "dhat-ad-hoc"] }
for dhat-heap!!
[profile.release]
debug = 1
- puffin
-
Enables puffin of vsvg and vsvg-viewer
- dhat-heap = dhat
-
if you are doing heap profiling
- dhat-ad-hoc
-
if you are doing ad hoc profiling
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.