Decision Workspace
axum-safe-path vs strict-path vs path_jail
Side-by-side comparison of Rust crates
46
axum-safe-path
experimentalv0.2.2
Traversal-safe `Path` extractor for Axum
56
strict-path
experimentalv0.1.1
Handle paths from external or unknown sources securely. Defends against 19+ real-world CVEs including symlinks, Windows 8.3 short names, and encoding tricks and exploits.
49
path_jail
experimentalv0.3.1
A secure filesystem sandbox. Restricts paths to a root directory, preventing traversal attacks.
Core Metrics
| axum-safe-path | strict-path | path_jail | |
|---|---|---|---|
| Health Score | 46 | 56 | 49 |
| Total Downloads | 1.9K | 2.9K | 1.4K |
| 30d Downloads | 51 | 188 | 79 |
| Dependents | 0 | 5 | 7 |
| Releases | 4 | 13 | 4 |
| Last Updated | 162d ago | 68d ago | 79d ago |
| Age | 9m | 6m | 2m |
Health Breakdown
axum-safe-path
Maintenance
11
Quality
15
Community
6
Popularity
4
Documentation
10
strict-path
Maintenance
16
Quality
13
Community
8
Popularity
4
Documentation
15
path_jail
Maintenance
9
Quality
16
Community
8
Popularity
4
Documentation
12
Technical Details
| axum-safe-path | strict-path | path_jail | |
|---|---|---|---|
| Version | 0.2.2 | 0.1.1 | 0.3.1 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 5 | 8 | 1 |
| Crate Size | 18KB | 114KB | 26KB |
| Features | 4 | 3 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | — | 1.71 | 1.80 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •strict-path leads with a health score of 56/100, but none of the options score above 80.