Decision Workspace
singletons vs singletonset vs array_map_derive
Side-by-side comparison of Rust crates
43
singletons
experimentalv0.1.0
Type-keyed data structures: SingletonSet stores one instance per type, SingletonMap<V> maps types to values
42
singletonset
growingv0.1.2
This crate provides the `SingletonSet` data structure, which makes it easy to store a single instance each of various types within a single set.
46
array_map_derive
growingv0.4.0
Map backed array for fixed size keys with O(1) performance
Core Metrics
| singletons | singletonset | array_map_derive | |
|---|---|---|---|
| Health Score | 43 | 42 | 46 |
| Total Downloads | 19 | 2.6K | 94.7K |
| 30d Downloads | 4 | 5 | 5.3K |
| Dependents | 0 | 0 | 15 |
| Releases | 1 | 3 | 4 |
| Last Updated | 98d ago | 479d ago | 1464d ago |
| Age | 3m | 1y 3m | 4y 10m |
Health Breakdown
singletons
Maintenance
8
Quality
16
Community
5
Popularity
2
Documentation
12
singletonset
Maintenance
6
Quality
15
Community
5
Popularity
4
Documentation
12
array_map_derive
Maintenance
3
Quality
15
Community
9
Popularity
6
Documentation
13
Technical Details
| singletons | singletonset | array_map_derive | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.2 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 3 |
| Crate Size | 15KB | 13KB | 4KB |
| Features | 3 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.57.0 | 1.57.0 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •array_map_derive leads with a health score of 46/100, but none of the options score above 80.
- •⚠ singletonset, array_map_derive have not been updated in over a year.