Decision Workspace
pathkit vs path_jail vs softpath
Side-by-side comparison of Rust crates
54
pathkit
stablev1.2.0
Similar to the Path structure provided by python's pathlib, it provides various async/sync versions of file manipulation methods in addition to some of the std::Path built-in methods.
60
path_jail
experimentalv0.4.0
A secure filesystem sandbox. Restricts paths to a root directory, preventing traversal attacks.
57
softpath
experimentalv0.3.0
A human-friendly file and directory path manipulation library for Rust.
Core Metrics
| pathkit | path_jail | softpath | |
|---|---|---|---|
| Health Score | 54 | 60 | 57 |
| Total Downloads | 7.4K | 7.5K | 4.9K |
| 30d Downloads | 0 | 6.1K | 0 |
| Dependents | 0 | 9 | 2 |
| Releases | 22 | 5 | 7 |
| Last Updated | 48d ago | 4d ago | 2d ago |
| Age | 1y 4m | 4m | 11m |
Health Breakdown
pathkit
Maintenance
16
Quality
18
Community
5
Popularity
5
Documentation
10
path_jail
Maintenance
18
Quality
16
Community
9
Popularity
5
Documentation
12
softpath
Maintenance
19
Quality
12
Community
7
Popularity
4
Documentation
15
Technical Details
| pathkit | path_jail | softpath | |
|---|---|---|---|
| Version | 1.2.0 | 0.4.0 | 0.3.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 11 | 1 | 9 |
| Crate Size | 37KB | 45KB | 25KB |
| Features | 5 | 3 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.85 | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •path_jail leads with a health score of 60/100, but none of the options score above 80.
- •path_jail, softpath are pre-1.0 — API may change.