Decision Workspace
loc_counter vs rustloclib vs locc
Side-by-side comparison of Rust crates
40
loc_counter
experimentalv0.2.0
A fast lines of code counter
56
rustloclib
experimentalv0.29.0
Rust-aware LOC counter that separates production code from tests — even in the same file
50
locc
experimentalv1.3.2
CLI for counting lines of code per language
Core Metrics
| loc_counter | rustloclib | locc | |
|---|---|---|---|
| Health Score | 40 | 56 | 50 |
| Total Downloads | 67 | 1.4K | 109 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 48 | 0 |
| Releases | 3 | 48 | 6 |
| Last Updated | 241d ago | 16d ago | 80d ago |
| Age | 8m | 9m | 2m |
Health Breakdown
loc_counter
Maintenance
10
Quality
12
Community
6
Popularity
2
Documentation
10
rustloclib
Maintenance
18
Quality
9
Community
10
Popularity
4
Documentation
15
locc
Maintenance
15
Quality
17
Community
6
Popularity
2
Documentation
10
Technical Details
| loc_counter | rustloclib | locc | |
|---|---|---|---|
| Version | 0.2.0 | 0.29.0 | 1.3.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT |
| Dependencies | 12 | 26 | 2 |
| Crate Size | 24KB | 122KB | 8KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2024 |
| MSRV | — | 1.95 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •rustloclib leads with a health score of 56/100, but none of the options score above 80.
- •loc_counter, rustloclib are pre-1.0 — API may change.