Decision Workspace
codemap vs codemap2 vs srcpos
Side-by-side comparison of Rust crates
53
codemap
growingv0.1.3
A data structure for efficiently storing source code position and span information (e.g. in a compiler AST), and mapping it back to file/line/column locations for error reporting and suggestions.
37
codemap2
growingv0.1.0
A maintained fork of the codemap crate that contains a data structure for efficiently storing source code position and span information (e.g. in a compiler AST), and mapping it back to file/line/column locations for error reporting and suggestions.
45
srcpos
growingv1.1.1
Structure of the location in the source code
Core Metrics
| codemap | codemap2 | srcpos | |
|---|---|---|---|
| Health Score | 53 | 37 | 45 |
| Total Downloads | 4.0M | 2.2K | 5.7K |
| 30d Downloads | 127.3K | 0 | 0 |
| Dependents | 327 | 1 | 6 |
| Releases | 4 | 1 | 3 |
| Last Updated | 2283d ago | 1166d ago | 2212d ago |
| Age | 9y 1m | 3y 2m | 6y 2m |
Health Breakdown
codemap
Maintenance
6
Quality
16
Community
12
Popularity
8
Documentation
11
codemap2
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
11
srcpos
Maintenance
3
Quality
21
Community
8
Popularity
4
Documentation
9
Technical Details
| codemap | codemap2 | srcpos | |
|---|---|---|---|
| Version | 0.1.3 | 0.1.0 | 1.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 0 | 1 | 1 |
| Crate Size | 9KB | 6KB | 4KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | — | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •codemap leads with a health score of 53/100, but none of the options score above 80.
- •codemap is depended on by 327 crates — strongest ecosystem trust.
- •⚠ codemap, codemap2, srcpos have not been updated in over a year.
- •codemap, codemap2 are pre-1.0 — API may change.