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
60
testdir
growingv0.10.0
Semi-persistent, scoped test directories
Core Metrics
| test_dir | mktemp | testdir | |
|---|---|---|---|
| Health Score | 44 | 49 | 60 |
| Total Downloads | 193.1K | 2.7M | 422.6K |
| 30d Downloads | 2.4K | 18.8K | 12.6K |
| Dependents | 127 | 644 | 444 |
| Releases | 2 | 9 | 19 |
| Last Updated | 1560d ago | 1039d ago | 114d ago |
| Age | 6y 9m | 10y 3m | 5y 7m |
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
12
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 60/100, but none of the options score above 80.
- •mktemp has the most downloads (2.7M), suggesting wider adoption.
- •mktemp is depended on by 644 crates — strongest ecosystem trust.
- •⚠ test_dir, mktemp have not been updated in over a year.