Decision Workspace
assoc_static vs static-generics vs generic_singleton
Side-by-side comparison of Rust crates
46
assoc_static
growingv1.0.0
Associate static objects to types
58
static-generics
experimentalv0.1.3
Zero-cost generic statics for Rust.
52
generic_singleton
growingv0.5.3
A library crate allowing for generic singleton patterns
Core Metrics
| assoc_static | static-generics | generic_singleton | |
|---|---|---|---|
| Health Score | 46 | 58 | 52 |
| Total Downloads | 12.0K | 1.0K | 601.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 25 | 1 | 21 |
| Releases | 7 | 4 | 14 |
| Last Updated | 1563d ago | 36d ago | 191d ago |
| Age | 4y 7m | 1m | 4y 1m |
Health Breakdown
assoc_static
Maintenance
4
Quality
21
Community
6
Popularity
5
Documentation
10
static-generics
Maintenance
17
Quality
15
Community
7
Popularity
4
Documentation
15
generic_singleton
Maintenance
10
Quality
10
Community
10
Popularity
7
Documentation
15
Technical Details
| assoc_static | static-generics | generic_singleton | |
|---|---|---|---|
| Version | 1.0.0 | 0.1.3 | 0.5.3 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 4 | 3 |
| Crate Size | 3KB | 21KB | 11KB |
| Features | 0 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 28.6% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.85 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •static-generics leads with a health score of 58/100, but none of the options score above 80.
- •generic_singleton has the most downloads (601.6K), suggesting wider adoption.
- •⚠ assoc_static has not been updated in over a year.
- •static-generics, generic_singleton are pre-1.0 — API may change.