Decision Workspace
map vs mapro vs hmap
Side-by-side comparison of Rust crates
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
38
hmap
growingv0.1.0
Adds hmap! macro for easily generate HashMap
Core Metrics
| map | mapro | hmap | |
|---|---|---|---|
| Health Score | 49 | 41 | 38 |
| Total Downloads | 5.1K | 9.1K | 42.3K |
| 30d Downloads | 257 | 378 | 327 |
| Dependents | 1 | 11 | 30 |
| Releases | 4 | 2 | 1 |
| Last Updated | 500d ago | 914d ago | 2758d ago |
| Age | 1y 4m | 2y 6m | 7y 6m |
Health Breakdown
map
Maintenance
8
Quality
20
Community
7
Popularity
4
Documentation
10
mapro
Maintenance
4
Quality
16
Community
6
Popularity
5
Documentation
10
hmap
Maintenance
1
Quality
16
Community
7
Popularity
6
Documentation
8
Technical Details
| map | mapro | hmap | |
|---|---|---|---|
| Version | 1.3.0 | 0.1.1 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 OR GPL-2.0 OR GPL-3.0 OR BSD-3-Clause | MIT | MIT |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 2KB | 3KB | 2KB |
| 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.
- •⚠ map, mapro, hmap have not been updated in over a year.
- •mapro, hmap are pre-1.0 — API may change.