Decision Workspace
iterate-text vs string-offsets vs include-lines
Side-by-side comparison of Rust crates
35
iterate-text
growingv0.0.1
Library of helper functions and structures for iterating over text files
51
string-offsets
growingv0.2.0
Converts string offsets between UTF-8 bytes, UTF-16 code units, Unicode code points, and lines.
49
include-lines
growingv1.1.2
Macros for reading in the lines of a file at compile time
Core Metrics
| iterate-text | string-offsets | include-lines | |
|---|---|---|---|
| Health Score | 35 | 51 | 49 |
| Total Downloads | 2.0K | 45.8K | 120.4K |
| 30d Downloads | 17 | 3.3K | 12.9K |
| Dependents | 0 | 19 | 17 |
| Releases | 1 | 2 | 4 |
| Last Updated | 1769d ago | 364d ago | 1134d ago |
| Age | 4y 10m | 1y 4m | 3y 2m |
Health Breakdown
iterate-text
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
9
string-offsets
Maintenance
6
Quality
15
Community
14
Popularity
6
Documentation
10
include-lines
Maintenance
4
Quality
20
Community
9
Popularity
6
Documentation
10
Technical Details
| iterate-text | string-offsets | include-lines | |
|---|---|---|---|
| Version | 0.0.1 | 0.2.0 | 1.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | AGPL-3.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 2 | 4 | 1 |
| Crate Size | 22KB | 18KB | 2KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 4 | 1 |
Links
Quick Verdict
- •string-offsets leads with a health score of 51/100, but none of the options score above 80.
- •include-lines has the most downloads (120.4K), suggesting wider adoption.
- •⚠ iterate-text, include-lines have not been updated in over a year.
- •iterate-text, string-offsets are pre-1.0 — API may change.