Decision Workspace
smolmap vs compact-map vs stacked_type_map
Side-by-side comparison of Rust crates
36
smolmap
growingv0.1.0-alpha.0
A hashmap on the stack.
41
compact-map
growingv0.1.0
'Small map' optimization: store up to a small number of key-value pairs on the stack.
37
stacked_type_map
growingv0.1.0
Compile time map of any type.
Core Metrics
| smolmap | compact-map | stacked_type_map | |
|---|---|---|---|
| Health Score | 36 | 41 | 37 |
| Total Downloads | 1.5K | 1.5K | 1.6K |
| 30d Downloads | 3 | 6 | 4 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 1 |
| Last Updated | 1015d ago | 708d ago | 1257d ago |
| Age | 2y 9m | 1y 11m | 3y 5m |
Health Breakdown
smolmap
Maintenance
1
Quality
15
Community
3
Popularity
4
Documentation
13
compact-map
Maintenance
1
Quality
18
Community
5
Popularity
4
Documentation
13
stacked_type_map
Maintenance
1
Quality
16
Community
6
Popularity
4
Documentation
10
Technical Details
| smolmap | compact-map | stacked_type_map | |
|---|---|---|---|
| Version | 0.1.0-alpha.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | AGPL-3.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 0 |
| Crate Size | 14KB | 19KB | 3KB |
| Features | 0 | 5 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •compact-map leads with a health score of 41/100, but none of the options score above 80.
- •stacked_type_map has the most downloads (1.6K), suggesting wider adoption.
- •⚠ smolmap, compact-map, stacked_type_map have not been updated in over a year.