Decision Workspace
dirinventory vs test-temp-dir vs iocore
Side-by-side comparison of Rust crates
Very fast multithreaded directory traversal
Temporary directories for use in tests
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
| dirinventory | test-temp-dir | iocore | |
|---|---|---|---|
| Health Score | 35 | 70 | 62 |
| Total Downloads | 19.2K | 68.4K | 34.6K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 197 | 72 |
| Releases | 15 | 19 | 35 |
| Last Updated | 1721d ago | 8d ago | 53d ago |
| Age | 4y 9m | 2y 8m | 3y |
Health Breakdown
Technical Details
| dirinventory | test-temp-dir | iocore | |
|---|---|---|---|
| Version | 0.7.0 | 0.9.0 | 3.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✓ Yes |
| License | MIT OR Apache-2.0 | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 8 | 4 | 14 |
| Crate Size | 254KB | 9KB | 63KB |
| Features | 0 | 2 | 1 |
| Yanked % | 33.3% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | 2024 |
| MSRV | — | 1.92 | — |
| Owners | 1 | 4 | 1 |
Links
Quick Verdict
- •test-temp-dir leads with a health score of 70/100, but none of the options score above 80.
- •test-temp-dir is depended on by 197 crates — strongest ecosystem trust.
- •⚠ dirinventory has not been updated in over a year.
- •dirinventory, test-temp-dir are pre-1.0 — API may change.