Decision Workspace
static_init vs static_init_macro vs branches
Side-by-side comparison of Rust crates
56
static_init
growingv1.0.4
Safe mutable static and non const static initialization, and code execution at program startup/exit.
49
static_init_macro
growingv1.0.4
Attribute macros for static_init crate
64
branches
growingv0.5.1
Branch hinting prediction and control functions for stable Rust including likely, unlikely, assume and abort, plus read and write cpu prefetch functions to help algorithm optimization
Core Metrics
| static_init | static_init_macro | branches | |
|---|---|---|---|
| Health Score | 56 | 49 | 64 |
| Total Downloads | 13.5M | 13.5M | 2.5M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 3.4K | 20 | 227 |
| Releases | 20 | 12 | 17 |
| Last Updated | 507d ago | 665d ago | 5d ago |
| Age | 5y 8m | 5y 8m | 3y 7m |
Health Breakdown
static_init
Maintenance
7
Quality
14
Community
15
Popularity
8
Documentation
12
static_init_macro
Maintenance
4
Quality
17
Community
10
Popularity
8
Documentation
10
branches
Maintenance
18
Quality
13
Community
11
Popularity
8
Documentation
14
Technical Details
| static_init | static_init_macro | branches | |
|---|---|---|---|
| Version | 1.0.4 | 1.0.4 | 0.5.1 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 17 | 5 | 1 |
| Crate Size | 86KB | 7KB | 169KB |
| Features | 8 | 1 | 3 |
| Yanked % | 30.0% | 8.3% | 5.9% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | 1.82 | — | 1.51 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •branches leads with a health score of 64/100, but none of the options score above 80.
- •static_init_macro has the most downloads (13.5M), suggesting wider adoption.
- •static_init is depended on by 3.4K crates — strongest ecosystem trust.
- •⚠ static_init, static_init_macro have not been updated in over a year.
- •branches is pre-1.0 — API may change.