Decision Workspace
source-span vs locspan vs locspan-derive
Side-by-side comparison of Rust crates
52
source-span
growingv2.7.0
Source code mapping and display utilities.
64
locspan
stablev1.0.0
Code mapping utility types and traits.
46
locspan-derive
growingv0.6.0
Derive macros for the `locspan` code mapping library
Core Metrics
| source-span | locspan | locspan-derive | |
|---|---|---|---|
| Health Score | 52 | 64 | 46 |
| Total Downloads | 47.7K | 3.7M | 3.7M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 37 | 425 | 164 |
| Releases | 17 | 45 | 10 |
| Last Updated | 1838d ago | 95d ago | 1436d ago |
| Age | 7y 2m | 4y 8m | 4y 3m |
Health Breakdown
source-span
Maintenance
4
Quality
21
Community
9
Popularity
6
Documentation
12
locspan
Maintenance
14
Quality
15
Community
12
Popularity
8
Documentation
15
locspan-derive
Maintenance
4
Quality
10
Community
11
Popularity
8
Documentation
13
Technical Details
| source-span | locspan | locspan-derive | |
|---|---|---|---|
| Version | 2.7.0 | 1.0.0 | 0.6.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 2 | 1 | 5 |
| Crate Size | 109KB | 10KB | 14KB |
| Features | 2 | 2 | 0 |
| Yanked % | 0.0% | 11.1% | 10.0% |
| Edition | 2018 | 2024 | 2021 |
| MSRV | — | 1.96.0 | — |
| Owners | 1 | 1 | 1 |
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.
- •⚠ source-span, locspan-derive have not been updated in over a year.
- •locspan-derive is pre-1.0 — API may change.