Decision Workspace
mktemp vs test_dir vs temp-file
Side-by-side comparison of Rust crates
49
mktemp
growingv0.5.1
mktemp files and directories
44
test_dir
growingv0.2.0
Easy creation of temporary file structure for test purpose.
57
temp-file
growingv0.2.0
Simple temporary file with cleanup
Core Metrics
| mktemp | test_dir | temp-file | |
|---|---|---|---|
| Health Score | 49 | 44 | 57 |
| Total Downloads | 2.5M | 165.8K | 909.9K |
| 30d Downloads | 31.7K | 6.0K | 48.0K |
| Dependents | 567 | 123 | 128 |
| Releases | 9 | 2 | 11 |
| Last Updated | 931d ago | 1452d ago | 46d ago |
| Age | 10y | 6y 5m | 5y |
Health Breakdown
mktemp
Maintenance
4
Quality
15
Community
11
Popularity
8
Documentation
11
test_dir
Maintenance
3
Quality
15
Community
11
Popularity
6
Documentation
9
temp-file
Maintenance
13
Quality
15
Community
12
Popularity
7
Documentation
10
Technical Details
| mktemp | test_dir | temp-file | |
|---|---|---|---|
| Version | 0.5.1 | 0.2.0 | 0.2.0 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MPL-2.0 | MIT | Apache-2.0 |
| Dependencies | 1 | 1 | 1 |
| Crate Size | 9KB | 4KB | 7KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •temp-file leads with a health score of 57/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.
- •⚠ mktemp, test_dir have not been updated in over a year.