Decision Workspace
injectable vs dependency-injector vs ru-di
Side-by-side comparison of Rust crates
42
injectable
experimentalv0.1.0
Attribute-driven dependency injection with a global or task-local container
63
dependency-injector
growingv2.1.0
High-performance, lock-free dependency injection container for Rust
44
ru-di
growingv0.1.4
A simple and lightweight dependency injection container for Rust
Core Metrics
| injectable | dependency-injector | ru-di | |
|---|---|---|---|
| Health Score | 42 | 63 | 44 |
| Total Downloads | 46 | 18.6K | 2.7K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 16 | 0 |
| Releases | 1 | 7 | 5 |
| Last Updated | 54d ago | 74d ago | 492d ago |
| Age | 1m | 10m | 1y 5m |
Health Breakdown
injectable
Maintenance
10
Quality
14
Community
6
Popularity
2
Documentation
10
dependency-injector
Maintenance
15
Quality
19
Community
9
Popularity
5
Documentation
15
ru-di
Maintenance
7
Quality
15
Community
5
Popularity
4
Documentation
13
Technical Details
| injectable | dependency-injector | ru-di | |
|---|---|---|---|
| Version | 0.1.0 | 2.1.0 | 0.1.4 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 3 | 15 | 1 |
| Crate Size | 11KB | 83KB | 23KB |
| Features | 0 | 10 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 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.
- •⚠ ru-di has not been updated in over a year.
- •injectable, ru-di are pre-1.0 — API may change.