Decision Workspace
string-view vs klex vs use-token
Side-by-side comparison of Rust crates
49
string-view
growingv0.4.1
Work with views into string slices. Safely extend, reduce without losing parent string size. Modify str slices in-place to avoid allocations.
45
klex
experimentalv0.1.2
A simple lexer (tokenizer) generator for Rust
45
use-token
experimentalv0.1.0
Composable tokenization primitives for RustUse.
Core Metrics
| string-view | klex | use-token | |
|---|---|---|---|
| Health Score | 49 | 45 | 45 |
| Total Downloads | 1.6K | 468 | 183 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 2 |
| Releases | 5 | 3 | 1 |
| Last Updated | 395d ago | 348d ago | 149d ago |
| Age | 1y 1m | 11m | 4m |
Health Breakdown
string-view
Maintenance
13
Quality
16
Community
6
Popularity
4
Documentation
10
klex
Maintenance
9
Quality
14
Community
6
Popularity
3
Documentation
13
use-token
Maintenance
6
Quality
15
Community
6
Popularity
3
Documentation
15
Technical Details
| string-view | klex | use-token | |
|---|---|---|---|
| Version | 0.4.1 | 0.1.2 | 0.1.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 0 |
| Crate Size | 6KB | 30KB | 4KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | — | — | 1.95.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •string-view leads with a health score of 49/100, but none of the options score above 80.
- •⚠ string-view has not been updated in over a year.