Decision Workspace
map vs mapro vs hmap
Side-by-side comparison of Rust crates
50
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 | 50 | 41 | 38 |
| Total Downloads | 6.4K | 11.7K | 45.9K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3 | 11 | 30 |
| Releases | 4 | 2 | 1 |
| Last Updated | 696d ago | 1111d ago | 2954d ago |
| Age | 1y 11m | 3y | 8y 1m |
Health Breakdown
map
Maintenance
7
Quality
20
Community
8
Popularity
5
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 50/100, but none of the options score above 80.
- •hmap has the most downloads (45.9K), suggesting wider adoption.
- •⚠ map, mapro, hmap have not been updated in over a year.
- •mapro, hmap are pre-1.0 — API may change.