Decision Workspace
locspan-derive vs locspan vs source-span
Side-by-side comparison of Rust crates
46
locspan-derive
growingv0.6.0
Derive macros for the `locspan` code mapping library
54
locspan
growingv0.9.2
Code mapping utility types and traits.
52
source-span
growingv2.7.0
Source code mapping and display utilities.
Core Metrics
| locspan-derive | locspan | source-span | |
|---|---|---|---|
| Health Score | 46 | 54 | 52 |
| Total Downloads | 2.1M | 2.1M | 42.8K |
| 30d Downloads | 208.1K | 209.4K | 1.7K |
| Dependents | 163 | 409 | 37 |
| Releases | 10 | 44 | 17 |
| Last Updated | 1240d ago | 404d ago | 1642d ago |
| Age | 3y 9m | 4y 2m | 6y 8m |
Health Breakdown
locspan-derive
Maintenance
4
Quality
10
Community
11
Popularity
8
Documentation
13
locspan
Maintenance
8
Quality
13
Community
12
Popularity
8
Documentation
13
source-span
Maintenance
4
Quality
21
Community
9
Popularity
6
Documentation
12
Technical Details
| locspan-derive | locspan | source-span | |
|---|---|---|---|
| Version | 0.6.0 | 0.9.2 | 2.7.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT/Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 5 | 1 | 2 |
| Crate Size | 14KB | 10KB | 109KB |
| Features | 0 | 2 | 2 |
| Yanked % | 10.0% | 11.4% | 0.0% |
| Edition | 2021 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •locspan leads with a health score of 54/100, but none of the options score above 80.
- •locspan is depended on by 409 crates — strongest ecosystem trust.
- •⚠ locspan-derive, locspan, source-span have not been updated in over a year.
- •locspan-derive, locspan are pre-1.0 — API may change.