Decision Workspace
cloc-rs vs rloc vs tokei
Side-by-side comparison of Rust crates
47
cloc-rs
experimentalv0.4.5
A simple CLI to count lines of code by extension with empty/import filtering
43
rloc
experimentalv0.2.0
A fast, modern Rust implementation of cloc (Count Lines of Code)
61
tokei
stablev14.0.0
Count your code, quickly.
Core Metrics
| cloc-rs | rloc | tokei | |
|---|---|---|---|
| Health Score | 47 | 43 | 61 |
| Total Downloads | 128 | 36 | 1.1M |
| 30d Downloads | 137 | 8 | 49.0K |
| Dependents | 0 | 0 | 218 |
| Releases | 9 | 2 | 82 |
| Last Updated | 17d ago | 31d ago | 87d ago |
| Age | 20d | 2m | 10y 5m |
Health Breakdown
cloc-rs
Maintenance
18
Quality
13
Community
6
Popularity
3
Documentation
7
rloc
Maintenance
12
Quality
11
Community
6
Popularity
2
Documentation
12
tokei
Maintenance
14
Quality
16
Community
12
Popularity
7
Documentation
12
Technical Details
| cloc-rs | rloc | tokei | |
|---|---|---|---|
| Version | 0.4.5 | 0.2.0 | 14.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 5 | 26 | 35 |
| Crate Size | 8KB | 425KB | 63KB |
| Features | 0 | 2 | 5 |
| Yanked % | 0.0% | 0.0% | 7.3% |
| Edition | 2024 | 2024 | 2021 |
| MSRV | — | 1.85 | 1.71 |
| Owners | 1 | 1 | 1 |
Quick Verdict
- •tokei leads with a health score of 61/100, but none of the options score above 80.
- •tokei is depended on by 218 crates — strongest ecosystem trust.
- •cloc-rs, rloc are pre-1.0 — API may change.