Decision Workspace
sourcefile vs srcpos vs source-map-mappings
Side-by-side comparison of Rust crates
44
sourcefile
growingv0.2.1
Retain mapping information when concatenating source files, to make error messages more useful
46
srcpos
growingv1.1.1
Structure of the location in the source code
43
source-map-mappings
growingv0.5.0
Parse the `mappings` string from a source map.
Core Metrics
| sourcefile | srcpos | source-map-mappings | |
|---|---|---|---|
| Health Score | 44 | 46 | 43 |
| Total Downloads | 1.3M | 5.6K | 88.1K |
| 30d Downloads | 27.9K | 42 | 5.6K |
| Dependents | 56 | 6 | 28 |
| Releases | 7 | 3 | 5 |
| Last Updated | 1727d ago | 2104d ago | 2951d ago |
| Age | 7y 8m | 5y 10m | 8y 3m |
Health Breakdown
sourcefile
Maintenance
3
Quality
15
Community
11
Popularity
7
Documentation
8
srcpos
Maintenance
4
Quality
21
Community
8
Popularity
4
Documentation
9
source-map-mappings
Maintenance
4
Quality
15
Community
10
Popularity
6
Documentation
8
Technical Details
| sourcefile | srcpos | source-map-mappings | |
|---|---|---|---|
| Version | 0.2.1 | 1.1.1 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | Apache-2.0/MIT | MIT | Apache-2.0/MIT |
| Dependencies | 1 | 1 | 3 |
| Crate Size | 8KB | 4KB | 30KB |
| Features | 0 | 1 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | — |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •srcpos leads with a health score of 46/100, but none of the options score above 80.
- •sourcefile has the most downloads (1.3M), suggesting wider adoption.
- •⚠ sourcefile, srcpos, source-map-mappings have not been updated in over a year.
- •sourcefile, source-map-mappings are pre-1.0 — API may change.