Decision Workspace
pathdedup vs shell-sanitize vs shell-sanitize-rules
Side-by-side comparison of Rust crates
46
pathdedup
growingv1.0.0
Output $PATH with all duplicate entries dropped
47
shell-sanitize
experimentalv0.1.0
Type-safe input sanitizer for shell arguments and file paths — rejects injection, traversal, and expansion attacks
46
shell-sanitize-rules
experimentalv0.1.0
Built-in sanitization rules for shell-sanitize: shell metacharacters, path traversal, glob, env expansion, control chars
Core Metrics
| pathdedup | shell-sanitize | shell-sanitize-rules | |
|---|---|---|---|
| Health Score | 46 | 47 | 46 |
| Total Downloads | 724 | 117 | 98 |
| 30d Downloads | 4 | 82 | 68 |
| Dependents | 0 | 3 | 2 |
| Releases | 2 | 1 | 1 |
| Last Updated | 111d ago | 39d ago | 39d ago |
| Age | 1y | 1m | 1m |
Health Breakdown
pathdedup
Maintenance
11
Quality
18
Community
4
Popularity
3
Documentation
10
shell-sanitize
Maintenance
11
Quality
14
Community
8
Popularity
2
Documentation
12
shell-sanitize-rules
Maintenance
11
Quality
14
Community
7
Popularity
2
Documentation
12
Technical Details
| pathdedup | shell-sanitize | shell-sanitize-rules | |
|---|---|---|---|
| Version | 1.0.0 | 0.1.0 | 0.1.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT-0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 0 | 2 | 3 |
| Crate Size | 8KB | 21KB | 28KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | 1.70.0 | 1.70.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •shell-sanitize leads with a health score of 47/100, but none of the options score above 80.
- •pathdedup has the most downloads (724), suggesting wider adoption.
- •shell-sanitize, shell-sanitize-rules are pre-1.0 — API may change.