Decision Workspace
span-map vs nonoverlapping_interval_tree vs extent
Side-by-side comparison of Rust crates
46
span-map
growingv0.2.0
A data structure for efficiently managing sets of values over spans/ranges
53
nonoverlapping_interval_tree
growingv0.1.6
Map data structure keyed on (non-overlapping) ranges that allows lookup of a point within a range. Can be no_std (with use of alloc crate).
38
extent
growingv0.5.0
replacement for std::ops::{Range,RangeInclusive}
Core Metrics
| span-map | nonoverlapping_interval_tree | extent | |
|---|---|---|---|
| Health Score | 46 | 53 | 38 |
| Total Downloads | 43.3K | 18.4K | 7.1K |
| 30d Downloads | 2.4K | 878 | 23 |
| Dependents | 0 | 21 | 0 |
| Releases | 2 | 7 | 5 |
| Last Updated | 477d ago | 228d ago | 1196d ago |
| Age | 1y 3m | 4y 2m | 4y 2m |
Health Breakdown
span-map
Maintenance
6
Quality
15
Community
6
Popularity
6
Documentation
13
nonoverlapping_interval_tree
Maintenance
7
Quality
18
Community
10
Popularity
5
Documentation
13
extent
Maintenance
5
Quality
15
Community
3
Popularity
5
Documentation
10
Technical Details
| span-map | nonoverlapping_interval_tree | extent | |
|---|---|---|---|
| Version | 0.2.0 | 0.1.6 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT | MIT OR Apache-2.0 |
| Dependencies | 1 | 0 | 1 |
| Crate Size | 21KB | 6KB | 5KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •nonoverlapping_interval_tree leads with a health score of 53/100, but none of the options score above 80.
- •span-map has the most downloads (43.3K), suggesting wider adoption.
- •⚠ span-map, extent have not been updated in over a year.