Decision Workspace
soft-canonicalize vs normpath vs iocore
Side-by-side comparison of Rust crates
Path canonicalization that works with non-existing paths.
More reliable path manipulation
IOCore is a safe library for unix CLI tools and Systems programming. IOCore provides the [`iocore::Path`] abstraction of file-system paths designed to replace most [`std::path`] and [`std::fs`] operations with practical methods, other abstractions include: - handling file-system permissions via [`iocore::PathPermissions`] powered by the crate [`trilobyte`]. - handling file-system timestamps via [`iocore::PathTimestamps`] granularly via [`iocore::PathDateTime`]. IOCore provides the [`iocore::walk_dir`] function and its companion trait [`iocore::WalkProgressHandler`] which traverses file-systems quickly via threads. IOcore provides [`iocore::User`] which provides unix user information such as uid, path to home etc. The module [`iocore::env`] provides [`iocore::env:args`] returns a [`Vec<String>`] from [`std::env:args`], and [`iocore::env:var`] that returns environment variables as string.
Core Metrics
| soft-canonicalize | normpath | iocore | |
|---|---|---|---|
| Health Score | 53 | 66 | 62 |
| Total Downloads | 53.3K | 33.0M | 34.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 90 | 1.3K | 72 |
| Releases | 34 | 15 | 35 |
| Last Updated | 174d ago | 20d ago | 53d ago |
| Age | 1y 2m | 5y 11m | 3y |
Health Breakdown
Technical Details
| soft-canonicalize | normpath | iocore | |
|---|---|---|---|
| Version | 0.5.6 | 1.5.2 | 3.2.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 4 | 9 | 14 |
| Crate Size | 291KB | 23KB | 63KB |
| Features | 4 | 1 | 1 |
| Yanked % | 29.4% | 6.7% | 0.0% |
| Edition | 2021 | 2021 | 2024 |
| MSRV | 1.70.0 | 1.81.0 | — |
| 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.3K crates — strongest ecosystem trust.
- •soft-canonicalize is pre-1.0 — API may change.