Decision Workspace
hmap vs map vs mapro
Side-by-side comparison of Rust crates
38
hmap
growingv0.1.0
Adds hmap! macro for easily generate HashMap
49
map
growingv1.3.0
This crate provides the `map!` macro and `map_insert!` macro, to create a HashMap collection and insert key-value pairs. Inspired by the `vec!` macro.
41
mapro
growingv0.1.1
A tiny macro library for creating std::collections
Core Metrics
| hmap | map | mapro | |
|---|---|---|---|
| Health Score | 38 | 49 | 41 |
| Total Downloads | 42.3K | 5.1K | 9.1K |
| 30d Downloads | 320 | 253 | 365 |
| Dependents | 30 | 1 | 11 |
| Releases | 1 | 4 | 2 |
| Last Updated | 2758d ago | 500d ago | 914d ago |
| Age | 7y 6m | 1y 4m | 2y 6m |
Health Breakdown
hmap
Maintenance
1
Quality
16
Community
7
Popularity
6
Documentation
8
map
Maintenance
8
Quality
20
Community
7
Popularity
4
Documentation
10
mapro
Maintenance
4
Quality
16
Community
6
Popularity
5
Documentation
10
Technical Details
| hmap | map | mapro | |
|---|---|---|---|
| Version | 0.1.0 | 1.3.0 | 0.1.1 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 2KB | 2KB | 3KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •map leads with a health score of 49/100, but none of the options score above 80.
- •hmap has the most downloads (42.3K), suggesting wider adoption.
- •⚠ hmap, map, mapro have not been updated in over a year.
- •hmap, mapro are pre-1.0 — API may change.