Decision Workspace
mockalloc vs mem_dbg vs httpmock
Side-by-side comparison of Rust crates
48
mockalloc
growingv0.1.2
A crate to allow testing code which uses the global allocator.
65
mem_dbg
growingv0.4.1
Traits and associated procedural macros to display recursively the layout and memory usage of a value
63
httpmock
growingv0.8.3
HTTP mocking library for Rust
Core Metrics
| mockalloc | mem_dbg | httpmock | |
|---|---|---|---|
| Health Score | 48 | 65 | 63 |
| Total Downloads | 22.5K | 221.0K | 20.1M |
| 30d Downloads | 1.9K | 19.3K | 1.4M |
| Dependents | 44 | 171 | 3.9K |
| Releases | 3 | 22 | 43 |
| Last Updated | 1955d ago | 2d ago | 51d ago |
| Age | 5y 4m | 2y 3m | 6y 6m |
Health Breakdown
mockalloc
Maintenance
4
Quality
16
Community
11
Popularity
5
Documentation
12
mem_dbg
Maintenance
19
Quality
15
Community
13
Popularity
6
Documentation
12
httpmock
Maintenance
16
Quality
13
Community
14
Popularity
8
Documentation
12
Technical Details
| mockalloc | mem_dbg | httpmock | |
|---|---|---|---|
| Version | 0.1.2 | 0.4.1 | 0.8.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 OR LGPL-2.1-or-later | MIT |
| Dependencies | 2 | 14 | 43 |
| Crate Size | 9KB | 67KB | 1.7MB |
| Features | 1 | 5 | 11 |
| Yanked % | 0.0% | 4.5% | 0.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.88.0 |
| Owners | 1 | 2 | 1 |
Links
Quick Verdict
- •mem_dbg leads with a health score of 65/100, but none of the options score above 80.
- •httpmock has the most downloads (20.1M), suggesting wider adoption.
- •httpmock is depended on by 3.9K crates — strongest ecosystem trust.
- •⚠ mockalloc has not been updated in over a year.