Decision Workspace
sngram-types vs sngram vs sngram-weights
Side-by-side comparison of Rust crates
50
sngram-types
experimentalv0.6.0
Shared types for sparse n-gram extraction and weight tables
56
sngram
experimentalv1.0.0
Sparse n-gram extraction for code search indexing
49
sngram-weights
experimentalv0.5.0
Pre-trained sparse n-gram weight tables, embedded at compile time and selectable per training-data tier via Cargo features.
Core Metrics
| sngram-types | sngram | sngram-weights | |
|---|---|---|---|
| Health Score | 50 | 56 | 49 |
| Total Downloads | 339 | 240 | 114 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 15 | 2 | 0 |
| Releases | 8 | 9 | 5 |
| Last Updated | 93d ago | 35d ago | 120d ago |
| Age | 4m | 4m | 4m |
Health Breakdown
sngram-types
Maintenance
14
Quality
14
Community
9
Popularity
3
Documentation
10
sngram
Maintenance
17
Quality
17
Community
7
Popularity
3
Documentation
12
sngram-weights
Maintenance
13
Quality
18
Community
6
Popularity
2
Documentation
10
Technical Details
| sngram-types | sngram | sngram-weights | |
|---|---|---|---|
| Version | 0.6.0 | 1.0.0 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT | MIT | MIT |
| Dependencies | 3 | 5 | 1 |
| Crate Size | 20KB | 269KB | 3KB |
| Features | 0 | 3 | 14 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | 1.96 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •sngram leads with a health score of 56/100, but none of the options score above 80.
- •sngram-types has the most downloads (339), suggesting wider adoption.
- •sngram-types, sngram-weights are pre-1.0 — API may change.