drop_tracer
Simple memory leak detector.
The author of this crate is not good at English.
Forgive me if the document is hard to read.
What is this?
This crate performs simple memory leak detection. This is intended to check local memory leaks in small crates. This is simple to use, just generate items for tracing, embed them in target to be managed, and check later to see if they have been dropped.
(#[global_allocator] attribute is not necessary).
Examples
Example using try_drop (see manual for other options).
let result = try_drop;
assert_eq!;
Versions
See CHANGELOG.