Decision Workspace
string-view vs use-token vs klex
Side-by-side comparison of Rust crates
49
string-view
experimentalv0.4.1
Work with views into string slices. Safely extend, reduce without losing parent string size. Modify str slices in-place to avoid allocations.
47
use-token
experimentalv0.1.0
Composable tokenization primitives for RustUse.
46
klex
experimentalv0.1.2
A simple lexer (tokenizer) generator for Rust
Core Metrics
| string-view | use-token | klex | |
|---|---|---|---|
| Health Score | 49 | 47 | 46 |
| Total Downloads | 1.5K | 98 | 457 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2 | 0 |
| Releases | 5 | 1 | 3 |
| Last Updated | 307d ago | 61d ago | 259d ago |
| Age | 10m | 2m | 8m |
Health Breakdown
string-view
Maintenance
14
Quality
15
Community
6
Popularity
4
Documentation
10
use-token
Maintenance
9
Quality
15
Community
6
Popularity
2
Documentation
15
klex
Maintenance
10
Quality
14
Community
6
Popularity
3
Documentation
13
Technical Details
| string-view | use-token | klex | |
|---|---|---|---|
| Version | 0.4.1 | 0.1.0 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 2 |
| Crate Size | 6KB | 4KB | 30KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| 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.