Decision Workspace
segment-tree-rs vs segfen vs array_range_query
Side-by-side comparison of Rust crates
40
segment-tree-rs
experimentalv0.1.0
Segment tree with point updates, range queries (sum/min/max/gcd), and lazy propagation
50
segfen
experimentalv0.1.0
Generic segment tree (over any monoid) and Fenwick/binary-indexed tree for O(log n) range queries. no_std compatible.
45
array_range_query
growingv0.2.3
High-performance generic segment tree and lazy segment tree implementations in Rust for efficient range queries, range updates, and interval operations. Supports custom monoid operations with zero-cost abstractions.
Core Metrics
| segment-tree-rs | segfen | array_range_query | |
|---|---|---|---|
| Health Score | 40 | 50 | 45 |
| Total Downloads | 19 | 19 | 1.8K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 0 | 0 |
| Releases | 1 | 1 | 6 |
| Last Updated | 124d ago | 56d ago | 351d ago |
| Age | 4m | 1m | 1y 1m |
Health Breakdown
segment-tree-rs
Maintenance
7
Quality
15
Community
6
Popularity
2
Documentation
10
segfen
Maintenance
10
Quality
17
Community
6
Popularity
2
Documentation
15
array_range_query
Maintenance
8
Quality
14
Community
6
Popularity
4
Documentation
13
Technical Details
| segment-tree-rs | segfen | array_range_query | |
|---|---|---|---|
| Version | 0.1.0 | 0.1.0 | 0.2.3 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 0 | 0 | 5 |
| Crate Size | 4KB | 11KB | 40KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.75 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •segfen leads with a health score of 50/100, but none of the options score above 80.
- •array_range_query has the most downloads (1.8K), suggesting wider adoption.