Decision Workspace
di-derive vs shaku vs portaldi
Side-by-side comparison of Rust crates
29
di-derive
growingv0.1.0
A dependency injection library for rust
46
shaku
growingv0.6.2
Compile Time Dependency Injection for Rust
44
portaldi
growingv0.6.3
An ergonomic lightweight compile-time depencency injection library.
Core Metrics
| di-derive | shaku | portaldi | |
|---|---|---|---|
| Health Score | 29 | 46 | 44 |
| Total Downloads | 1.3K | 181.3K | 29.3K |
| 30d Downloads | 2 | 7.4K | 36 |
| Dependents | 0 | 1.1K | 0 |
| Releases | 1 | 10 | 32 |
| Last Updated | 2061d ago | 573d ago | 265d ago |
| Age | 5y 7m | 6y 1m | 3y 2m |
Health Breakdown
di-derive
Maintenance
1
Quality
9
Community
3
Popularity
4
Documentation
12
shaku
Maintenance
4
Quality
16
Community
11
Popularity
6
Documentation
9
portaldi
Maintenance
10
Quality
16
Community
3
Popularity
5
Documentation
10
Technical Details
| di-derive | shaku | portaldi | |
|---|---|---|---|
| Version | 0.1.0 | 0.6.2 | 0.6.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 3 | 5 | 4 |
| Crate Size | 3KB | 26KB | 11KB |
| Features | 0 | 3 | 3 |
| Yanked % | 100.0% | 0.0% | 0.0% |
| Edition | 2018 | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •shaku leads with a health score of 46/100, but none of the options score above 80.
- •shaku is depended on by 1.1K crates — strongest ecosystem trust.
- •⚠ di-derive, shaku have not been updated in over a year.