Decision Workspace
collection_literals vs maplit vs maplit2
Side-by-side comparison of Rust crates
48
collection_literals
growingv1.0.3
Easy-to-use macros for initializing any collection
63
maplit
growingv1.0.2
Collection “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet.
56
maplit2
growingv1.0.5
Collection helper libraries and “literal” macros for HashMap, HashSet, BTreeMap, and BTreeSet.
Core Metrics
| collection_literals | maplit | maplit2 | |
|---|---|---|---|
| Health Score | 48 | 63 | 56 |
| Total Downloads | 33.5M | 140.6M | 35.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 50 | 17.1K | 19 |
| Releases | 7 | 10 | 4 |
| Last Updated | 374d ago | 2603d ago | 1235d ago |
| Age | 4y 6m | 11y 4m | 3y 4m |
Health Breakdown
collection_literals
Maintenance
5
Quality
15
Community
10
Popularity
8
Documentation
10
maplit
Maintenance
4
Quality
21
Community
19
Popularity
8
Documentation
11
maplit2
Maintenance
10
Quality
21
Community
9
Popularity
5
Documentation
11
Technical Details
| collection_literals | maplit | maplit2 | |
|---|---|---|---|
| Version | 1.0.3 | 1.0.2 | 1.0.5 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 0 | 0 | 0 |
| Crate Size | 5KB | 9KB | 9KB |
| Features | 0 | 0 | 0 |
| Yanked % | 57.1% | 0.0% | 0.0% |
| Edition | 2021 | — | — |
| MSRV | — | — | — |
| Owners | 1 | 2 (team) | 1 |
Links
Quick Verdict
- •maplit leads with a health score of 63/100, but none of the options score above 80.
- •maplit is depended on by 17.1K crates — strongest ecosystem trust.
- •⚠ collection_literals, maplit, maplit2 have not been updated in over a year.