Decision Workspace
dependency-injector vs ru-di vs injectable-rs
Side-by-side comparison of Rust crates
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
43
injectable-rs
experimentalv0.1.0
A compile-time dependency injection framework for Rust using extractor-based DI
Core Metrics
| dependency-injector | ru-di | injectable-rs | |
|---|---|---|---|
| Health Score | 63 | 44 | 43 |
| Total Downloads | 18.6K | 2.7K | 16 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 16 | 0 | 0 |
| Releases | 7 | 5 | 1 |
| Last Updated | 74d ago | 492d ago | 51d ago |
| Age | 10m | 1y 5m | 1m |
Health Breakdown
dependency-injector
Maintenance
15
Quality
19
Community
9
Popularity
5
Documentation
15
ru-di
Maintenance
7
Quality
15
Community
5
Popularity
4
Documentation
13
injectable-rs
Maintenance
10
Quality
11
Community
6
Popularity
1
Documentation
15
Technical Details
| dependency-injector | ru-di | injectable-rs | |
|---|---|---|---|
| Version | 2.1.0 | 0.1.4 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 15 | 1 | 26 |
| Crate Size | 83KB | 23KB | 98KB |
| Features | 10 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | 1.85 | — | 1.86 |
| 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.
- •ru-di, injectable-rs are pre-1.0 — API may change.