Decision Workspace
codemap2 vs codemap vs srcpos
Side-by-side comparison of Rust crates
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.
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.
46
srcpos
growingv1.1.1
Structure of the location in the source code
Core Metrics
| codemap2 | codemap | srcpos | |
|---|---|---|---|
| Health Score | 37 | 53 | 46 |
| Total Downloads | 2.1K | 3.2M | 5.6K |
| 30d Downloads | 22 | 174.0K | 40 |
| Dependents | 1 | 321 | 6 |
| Releases | 1 | 4 | 3 |
| Last Updated | 1058d ago | 2175d ago | 2104d ago |
| Age | 2y 10m | 8y 10m | 5y 10m |
Health Breakdown
codemap2
Maintenance
1
Quality
15
Community
6
Popularity
4
Documentation
11
codemap
Maintenance
6
Quality
16
Community
12
Popularity
8
Documentation
11
srcpos
Maintenance
4
Quality
21
Community
8
Popularity
4
Documentation
9
Technical Details
| codemap2 | codemap | srcpos | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.3 | 1.1.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT |
| Dependencies | 1 | 0 | 1 |
| Crate Size | 6KB | 9KB | 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.
- •⚠ codemap2, codemap, srcpos have not been updated in over a year.
- •codemap2, codemap are pre-1.0 — API may change.