Decision Workspace
string-view vs lexxor vs klex
Side-by-side comparison of Rust crates
51
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.
48
lexxor
experimentalv0.9.2
A fast, extensible, greedy, single-pass text tokenizer for Rust
48
klex
experimentalv0.1.2
A simple lexer (tokenizer) generator for Rust
Core Metrics
| string-view | lexxor | klex | |
|---|---|---|---|
| Health Score | 51 | 48 | 48 |
| Total Downloads | 1.5K | 1.1K | 445 |
| 30d Downloads | 8 | 10 | 6 |
| Dependents | 0 | 0 | 0 |
| Releases | 5 | 3 | 3 |
| Last Updated | 199d ago | 134d ago | 151d ago |
| Age | 6m | 10m | 5m |
Health Breakdown
string-view
Maintenance
16
Quality
15
Community
6
Popularity
4
Documentation
10
lexxor
Maintenance
13
Quality
12
Community
6
Popularity
4
Documentation
13
klex
Maintenance
12
Quality
14
Community
6
Popularity
3
Documentation
13
Technical Details
| string-view | lexxor | klex | |
|---|---|---|---|
| Version | 0.4.1 | 0.9.2 | 0.1.2 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 0 | 3 | 2 |
| Crate Size | 6KB | 730KB | 30KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •string-view leads with a health score of 51/100, but none of the options score above 80.