Decision Workspace
trek-router vs path-tree vs httprouter
Side-by-side comparison of Rust crates
36
trek-router
growingv0.0.2
A flexible router for RESTful APIs
53
path-tree
growingv0.8.3
path-tree is a lightweight high performance HTTP request router for Rust
42
httprouter
growingv0.5.0
A high performance HTTP request router that scales well.
Core Metrics
| trek-router | path-tree | httprouter | |
|---|---|---|---|
| Health Score | 36 | 53 | 42 |
| Total Downloads | 3.1K | 4.5M | 91.4K |
| 30d Downloads | 4 | 848.4K | 47 |
| Dependents | 0 | 265 | 0 |
| Releases | 2 | 42 | 6 |
| Last Updated | 2502d ago | 370d ago | 1780d ago |
| Age | 7y | 7y | 5y 4m |
Health Breakdown
trek-router
Maintenance
3
Quality
14
Community
3
Popularity
4
Documentation
12
path-tree
Maintenance
7
Quality
12
Community
13
Popularity
8
Documentation
13
httprouter
Maintenance
7
Quality
14
Community
6
Popularity
6
Documentation
9
Technical Details
| trek-router | path-tree | httprouter | |
|---|---|---|---|
| Version | 0.0.2 | 0.8.3 | 0.5.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 6 | 15 | 5 |
| Crate Size | 10KB | 22KB | 13KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 4.8% | 0.0% |
| Edition | 2018 | 2021 | 2018 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •path-tree leads with a health score of 53/100, but none of the options score above 80.
- •path-tree is depended on by 265 crates — strongest ecosystem trust.
- •⚠ trek-router, path-tree, httprouter have not been updated in over a year.