Decision Workspace
code_location vs locspan vs token_location
Side-by-side comparison of Rust crates
47
code_location
growingv1.1.1
UNMAINTAINED! Use std::panic::Location instead!
64
locspan
stablev1.0.0
Code mapping utility types and traits.
53
token_location
experimentalv0.1.0
Byte-range source locations for parsed nodes
Core Metrics
| code_location | locspan | token_location | |
|---|---|---|---|
| Health Score | 47 | 64 | 53 |
| Total Downloads | 53.2K | 3.7M | 12 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 425 | 1 |
| Releases | 5 | 45 | 1 |
| Last Updated | 1610d ago | 95d ago | 3d ago |
| Age | 6y 4m | 4y 8m | 3d |
Health Breakdown
code_location
Maintenance
3
Quality
20
Community
6
Popularity
6
Documentation
12
locspan
Maintenance
14
Quality
15
Community
12
Popularity
8
Documentation
15
token_location
Maintenance
13
Quality
16
Community
11
Popularity
1
Documentation
12
Technical Details
| code_location | locspan | token_location | |
|---|---|---|---|
| Version | 1.1.1 | 1.0.0 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 2 | 1 | 1 |
| Crate Size | 7KB | 10KB | 9KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 11.1% | 0.0% |
| Edition | 2018 | 2024 | 2024 |
| MSRV | — | 1.96.0 | 1.85 |
| Owners | 1 | 1 | 2 (team) |
Links
Quick Verdict
- •locspan leads with a health score of 64/100, but none of the options score above 80.
- •locspan is depended on by 425 crates — strongest ecosystem trust.
- •⚠ code_location has not been updated in over a year.
- •token_location is pre-1.0 — API may change.