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
66
testdir
growingv0.10.0
Semi-persistent, scoped test directories
Core Metrics
| test_dir | mktemp | testdir | |
|---|---|---|---|
| Health Score | 44 | 49 | 66 |
| Total Downloads | 165.8K | 2.5M | 333.0K |
| 30d Downloads | 6.0K | 31.7K | 16.6K |
| Dependents | 123 | 567 | 375 |
| Releases | 2 | 9 | 19 |
| Last Updated | 1452d ago | 931d ago | 6d ago |
| Age | 6y 5m | 10y | 5y 3m |
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
18
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 66/100, but none of the options score above 80.
- •mktemp has the most downloads (2.5M), suggesting wider adoption.
- •mktemp is depended on by 567 crates — strongest ecosystem trust.
- •⚠ test_dir, mktemp have not been updated in over a year.