Decision Workspace
source-map-mappings vs sourcefile vs locspan
Side-by-side comparison of Rust crates
43
source-map-mappings
growingv0.5.0
Parse the `mappings` string from a source map.
44
sourcefile
growingv0.2.1
Retain mapping information when concatenating source files, to make error messages more useful
68
locspan
stablev1.0.0
Code mapping utility types and traits.
Core Metrics
| source-map-mappings | sourcefile | locspan | |
|---|---|---|---|
| Health Score | 43 | 44 | 68 |
| Total Downloads | 107.1K | 1.4M | 3.0M |
| 30d Downloads | 610 | 15.6K | 118.1K |
| Dependents | 28 | 56 | 412 |
| Releases | 5 | 7 | 45 |
| Last Updated | 3059d ago | 1835d ago | 6d ago |
| Age | 8y 6m | 7y 11m | 4y 5m |
Health Breakdown
source-map-mappings
Maintenance
4
Quality
15
Community
10
Popularity
6
Documentation
8
sourcefile
Maintenance
3
Quality
15
Community
11
Popularity
7
Documentation
8
locspan
Maintenance
19
Quality
14
Community
12
Popularity
8
Documentation
15
Technical Details
| source-map-mappings | sourcefile | locspan | |
|---|---|---|---|
| Version | 0.5.0 | 0.2.1 | 1.0.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | Apache-2.0/MIT | Apache-2.0/MIT | MIT/Apache-2.0 |
| Dependencies | 3 | 1 | 1 |
| Crate Size | 30KB | 8KB | 10KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 11.1% |
| Edition | — | — | 2024 |
| MSRV | — | — | 1.96.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •locspan leads with a health score of 68/100, but none of the options score above 80.
- •locspan is depended on by 412 crates — strongest ecosystem trust.
- •⚠ source-map-mappings, sourcefile have not been updated in over a year.
- •source-map-mappings, sourcefile are pre-1.0 — API may change.