Decision Workspace
mockalloc vs mem_dbg-derive vs mem_dbg
Side-by-side comparison of Rust crates
49
mockalloc
growingv0.1.2
A crate to allow testing code which uses the global allocator.
60
mem_dbg-derive
growingv0.3.4
Procedural macros for mem_dbg
59
mem_dbg
growingv0.4.4
Traits and associated procedural macros to display recursively the layout and memory usage of a value
Core Metrics
| mockalloc | mem_dbg-derive | mem_dbg | |
|---|---|---|---|
| Health Score | 49 | 60 | 59 |
| Total Downloads | 124.9K | 717.2K | 728.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 46 | 25 | 231 |
| Releases | 3 | 14 | 25 |
| Last Updated | 2151d ago | 78d ago | 78d ago |
| Age | 5y 11m | 2y 10m | 2y 10m |
Health Breakdown
mockalloc
Maintenance
4
Quality
16
Community
11
Popularity
6
Documentation
12
mem_dbg-derive
Maintenance
14
Quality
16
Community
11
Popularity
7
Documentation
12
mem_dbg
Maintenance
15
Quality
12
Community
13
Popularity
7
Documentation
12
Technical Details
| mockalloc | mem_dbg-derive | mem_dbg | |
|---|---|---|---|
| Version | 0.1.2 | 0.3.4 | 0.4.4 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR MIT | Apache-2.0 OR MIT |
| Dependencies | 2 | 3 | 18 |
| Crate Size | 9KB | 8KB | 109KB |
| Features | 1 | 1 | 4 |
| Yanked % | 0.0% | 0.0% | 4.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 2 | 2 |
Links
Quick Verdict
- •mem_dbg-derive leads with a health score of 60/100, but none of the options score above 80.
- •mem_dbg has the most downloads (728.1K), suggesting wider adoption.
- •mem_dbg is depended on by 231 crates — strongest ecosystem trust.
- •⚠ mockalloc has not been updated in over a year.