A heap profiling and ad hoc profiling tool for Rust programs, based on DHAT from Valgrind.
# Cargo.toml
[dependencies]
dhat = "0.3.3"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initialize a heap profiler and print current heap usage.
Bind the Profiler to a variable with a long enough lifetime (e.g., at the start of main).
No dependency data recorded yet.