Decision Workspace
test_dir vs mktemp vs testdir
Side-by-side comparison of Rust crates
44
test_dir
growingv0.2.0
Easy creation of temporary file structure for test purpose.
49
mktemp
growingv0.5.1
mktemp files and directories
58
testdir
growingv0.10.0
Semi-persistent, scoped test directories
Core Metrics
| test_dir | mktemp | testdir | |
|---|---|---|---|
| Health Score | 44 | 49 | 58 |
| Total Downloads | 217.3K | 2.8M | 515.1K |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 133 | 662 | 521 |
| Releases | 2 | 9 | 19 |
| Last Updated | 1649d ago | 1127d ago | 202d ago |
| Age | 7y | 10y 6m | 5y 10m |
Health Breakdown
test_dir
Maintenance
3
Quality
15
Community
11
Popularity
6
Documentation
9
mktemp
Maintenance
4
Quality
15
Community
11
Popularity
8
Documentation
11
testdir
Maintenance
10
Quality
13
Community
13
Popularity
7
Documentation
15
Technical Details
| test_dir | mktemp | testdir | |
|---|---|---|---|
| Version | 0.2.0 | 0.5.1 | 0.10.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT | MPL-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 9 |
| Crate Size | 4KB | 9KB | 27KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2018 | — | 2024 |
| MSRV | — | — | 1.88 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •testdir leads with a health score of 58/100, but none of the options score above 80.
- •mktemp has the most downloads (2.8M), suggesting wider adoption.
- •mktemp is depended on by 662 crates — strongest ecosystem trust.
- •⚠ test_dir, mktemp have not been updated in over a year.