Decision Workspace
static_init vs static_init_macro vs qed
Side-by-side comparison of Rust crates
57
static_init
growingv1.0.4
Safe mutable static and non const static initialization, and code execution at program startup/exit.
50
static_init_macro
growingv1.0.4
Attribute macros for static_init crate
56
qed
growingv1.6.1
Compile-time assertions
Core Metrics
| static_init | static_init_macro | qed | |
|---|---|---|---|
| Health Score | 57 | 50 | 56 |
| Total Downloads | 10.3M | 10.3M | 67.9K |
| 30d Downloads | 399.1K | 396.4K | 471 |
| Dependents | 3.2K | 20 | 0 |
| Releases | 20 | 12 | 10 |
| Last Updated | 310d ago | 469d ago | 1029d ago |
| Age | 5y 2m | 5y 2m | 3y 11m |
Health Breakdown
static_init
Maintenance
8
Quality
14
Community
15
Popularity
8
Documentation
12
static_init_macro
Maintenance
5
Quality
17
Community
10
Popularity
8
Documentation
10
qed
Maintenance
4
Quality
20
Community
11
Popularity
6
Documentation
15
Technical Details
| static_init | static_init_macro | qed | |
|---|---|---|---|
| Version | 1.0.4 | 1.0.4 | 1.6.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 17 | 5 | 1 |
| Crate Size | 86KB | 7KB | 6KB |
| Features | 8 | 1 | 0 |
| Yanked % | 30.0% | 8.3% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.82 | — | 1.64.0 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •static_init leads with a health score of 57/100, but none of the options score above 80.
- •static_init_macro has the most downloads (10.3M), suggesting wider adoption.
- •static_init is depended on by 3.2K crates — strongest ecosystem trust.
- •⚠ static_init_macro, qed have not been updated in over a year.