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.
46
srcpos
growingv1.1.1
Structure of the location in the source code
Core Metrics
| codemap | codemap2 | srcpos | |
|---|---|---|---|
| Health Score | 53 | 37 | 46 |
| Total Downloads | 3.2M | 2.1K | 5.6K |
| 30d Downloads | 174.0K | 22 | 40 |
| Dependents | 321 | 1 | 6 |
| Releases | 4 | 1 | 3 |
| Last Updated | 2175d ago | 1058d ago | 2104d ago |
| Age | 8y 10m | 2y 10m | 5y 10m |
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
4
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 321 crates — strongest ecosystem trust.
- •⚠ codemap, codemap2, srcpos have not been updated in over a year.
- •codemap, codemap2 are pre-1.0 — API may change.