Decision Workspace
ptree2 vs ptree vs ls-tree
Side-by-side comparison of Rust crates
40
ptree2
growingv1.0.0
Pretty-print tree-like structures
50
ptree
growingv0.5.2
Pretty-print tree-like structures
44
ls-tree
experimentalv0.2.0
A lightweight, dependency-free clone of the Unix `tree` command, written in Rust.
Core Metrics
| ptree2 | ptree | ls-tree | |
|---|---|---|---|
| Health Score | 40 | 50 | 44 |
| Total Downloads | 1.4K | 4.2M | 43 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 772 | 0 |
| Releases | 1 | 10 | 2 |
| Last Updated | 803d ago | 680d ago | 78d ago |
| Age | 2y 2m | 8y 1m | 2m |
Health Breakdown
ptree2
Maintenance
1
Quality
20
Community
5
Popularity
4
Documentation
10
ptree
Maintenance
4
Quality
15
Community
13
Popularity
8
Documentation
10
ls-tree
Maintenance
10
Quality
13
Community
6
Popularity
2
Documentation
13
Technical Details
| ptree2 | ptree | ls-tree | |
|---|---|---|---|
| Version | 1.0.0 | 0.5.2 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT |
| Dependencies | 13 | 12 | 3 |
| Crate Size | 89KB | 89KB | 131KB |
| Features | 4 | 4 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •ptree leads with a health score of 50/100, but none of the options score above 80.
- •ptree is depended on by 772 crates — strongest ecosystem trust.
- •⚠ ptree2, ptree have not been updated in over a year.
- •ptree, ls-tree are pre-1.0 — API may change.