Decision Workspace
soft-canonicalize vs normpath vs path_jail
Side-by-side comparison of Rust crates
57
soft-canonicalize
experimentalv0.5.6
Path canonicalization that works with non-existing paths.
66
normpath
stablev1.5.1
More reliable path manipulation
60
path_jail
experimentalv0.4.0
A secure filesystem sandbox. Restricts paths to a root directory, preventing traversal attacks.
Core Metrics
| soft-canonicalize | normpath | path_jail | |
|---|---|---|---|
| Health Score | 57 | 66 | 60 |
| Total Downloads | 23.1K | 23.1M | 7.5K |
| 30d Downloads | 2.8K | 1.3M | 6.1K |
| Dependents | 62 | 1.2K | 9 |
| Releases | 34 | 14 | 5 |
| Last Updated | 37d ago | 21d ago | 4d ago |
| Age | 10m | 5y 6m | 4m |
Health Breakdown
soft-canonicalize
Maintenance
17
Quality
9
Community
11
Popularity
5
Documentation
15
normpath
Maintenance
16
Quality
16
Community
14
Popularity
8
Documentation
12
path_jail
Maintenance
18
Quality
16
Community
9
Popularity
5
Documentation
12
Technical Details
| soft-canonicalize | normpath | path_jail | |
|---|---|---|---|
| Version | 0.5.6 | 1.5.1 | 0.4.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✗ No |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 9 | 1 |
| Crate Size | 291KB | 25KB | 45KB |
| Features | 4 | 1 | 3 |
| Yanked % | 29.4% | 7.1% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | 1.70.0 | 1.81.0 | 1.85 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •normpath leads with a health score of 66/100, but none of the options score above 80.
- •normpath is depended on by 1.2K crates — strongest ecosystem trust.
- •soft-canonicalize, path_jail are pre-1.0 — API may change.