Cargo Features

h8r has no features set by default.

[dependencies]
h8r = { version = "1.1.1", features = ["dhat-heap", "dhat-ad-hoc"] }
dhat-heap

if you are doing heap profiling

dhat-ad-hoc

if you are doing ad hoc profiling