Decision Workspace
code_location vs locspan vs source-span
Side-by-side comparison of Rust crates
47
code_location
growingv1.1.1
UNMAINTAINED! Use std::panic::Location instead!
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
| code_location | locspan | source-span | |
|---|---|---|---|
| Health Score | 47 | 54 | 52 |
| Total Downloads | 41.0K | 2.1M | 42.8K |
| 30d Downloads | 2.6K | 209.4K | 1.7K |
| Dependents | 0 | 409 | 37 |
| Releases | 5 | 44 | 17 |
| Last Updated | 1413d ago | 404d ago | 1642d ago |
| Age | 5y 10m | 4y 2m | 6y 8m |
Health Breakdown
code_location
Maintenance
3
Quality
20
Community
6
Popularity
6
Documentation
12
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
| code_location | locspan | source-span | |
|---|---|---|---|
| Version | 1.1.1 | 0.9.2 | 2.7.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT/Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 2 | 1 | 2 |
| Crate Size | 7KB | 10KB | 109KB |
| Features | 0 | 2 | 2 |
| Yanked % | 0.0% | 11.4% | 0.0% |
| Edition | 2018 | 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.
- •⚠ code_location, locspan, source-span have not been updated in over a year.
- •locspan is pre-1.0 — API may change.