Decision Workspace
service-builder vs loso-inject vs dependency-injector
Side-by-side comparison of Rust crates
47
service-builder
growingv0.3.0
A lightweight, type-safe service construction library for Rust that provides compile-time dependency injection through builder pattern
35
loso-inject
experimentalv0.1.0
A compile-time dependency injection framework for Rust with zero runtime overhead
63
dependency-injector
growingv2.1.0
High-performance, lock-free dependency injection container for Rust
Core Metrics
| service-builder | loso-inject | dependency-injector | |
|---|---|---|---|
| Health Score | 47 | 35 | 63 |
| Total Downloads | 10.3K | 31 | 18.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 63 | 0 | 16 |
| Releases | 7 | 1 | 7 |
| Last Updated | 419d ago | 255d ago | 74d ago |
| Age | 1y 9m | 8m | 10m |
Health Breakdown
service-builder
Maintenance
7
Quality
14
Community
11
Popularity
5
Documentation
10
loso-inject
Maintenance
4
Quality
13
Community
6
Popularity
2
Documentation
10
dependency-injector
Maintenance
15
Quality
19
Community
9
Popularity
5
Documentation
15
Technical Details
| service-builder | loso-inject | dependency-injector | |
|---|---|---|---|
| Version | 0.3.0 | 0.1.0 | 2.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 6 | 4 | 15 |
| Crate Size | 11KB | 12KB | 83KB |
| Features | 0 | 0 | 10 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| 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.
- •⚠ service-builder has not been updated in over a year.
- •service-builder, loso-inject are pre-1.0 — API may change.