Decision Workspace
pathkit vs iocore vs hadris-path
Side-by-side comparison of Rust crates
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.
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.
Allocation-free lexical paths for virtual filesystems and archives
Core Metrics
| pathkit | iocore | hadris-path | |
|---|---|---|---|
| Health Score | 60 | 62 | 62 |
| Total Downloads | 7.9K | 34.6K | 14.0K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 7 | 72 | 50 |
| Releases | 28 | 35 | 10 |
| Last Updated | 2d ago | 53d ago | 7d ago |
| Age | 1y 9m | 3y | 2m |
Health Breakdown
Technical Details
| pathkit | iocore | hadris-path | |
|---|---|---|---|
| Version | 1.5.0 | 3.2.0 | 2.5.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT |
| Dependencies | 12 | 14 | 0 |
| Crate Size | 47KB | 63KB | 4KB |
| Features | 5 | 1 | 2 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2024 | 2024 | 2024 |
| MSRV | — | — | 1.88.0 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •iocore leads with a health score of 62/100, but none of the options score above 80.