Decision Workspace
rok-container vs dependency-injector vs rok-container-macros
Side-by-side comparison of Rust crates
42
rok-container
experimentalv0.3.4
IoC service container and dependency injection for the rok ecosystem
63
dependency-injector
growingv2.1.0
High-performance, lock-free dependency injection container for Rust
46
rok-container-macros
experimentalv0.6.0
Procedural macros for rok-container
Core Metrics
| rok-container | dependency-injector | rok-container-macros | |
|---|---|---|---|
| Health Score | 42 | 63 | 46 |
| Total Downloads | 40 | 18.6K | 278 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 16 | 4 |
| Releases | 2 | 7 | 4 |
| Last Updated | 144d ago | 74d ago | 130d ago |
| Age | 4m | 10m | 4m |
Health Breakdown
rok-container
Maintenance
10
Quality
15
Community
5
Popularity
2
Documentation
10
dependency-injector
Maintenance
15
Quality
19
Community
9
Popularity
5
Documentation
15
rok-container-macros
Maintenance
12
Quality
14
Community
7
Popularity
3
Documentation
10
Technical Details
| rok-container | dependency-injector | rok-container-macros | |
|---|---|---|---|
| Version | 0.3.4 | 2.1.0 | 0.6.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 4 | 15 | 3 |
| Crate Size | 20KB | 83KB | 3KB |
| Features | 4 | 10 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | 1.85 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dependency-injector leads with a health score of 63/100, but none of the options score above 80.
- •rok-container, rok-container-macros are pre-1.0 — API may change.