Decision Workspace
temp-file vs mktemp vs testfile
Side-by-side comparison of Rust crates
57
temp-file
growingv0.2.0
Simple temporary file with cleanup
49
mktemp
growingv0.5.1
mktemp files and directories
46
testfile
growingv0.1.5
Temporary test file/dir management for unit tests
Core Metrics
| temp-file | mktemp | testfile | |
|---|---|---|---|
| Health Score | 57 | 49 | 46 |
| Total Downloads | 909.9K | 2.5M | 22.5K |
| 30d Downloads | 47.3K | 30.7K | 558 |
| Dependents | 128 | 567 | 26 |
| Releases | 11 | 9 | 17 |
| Last Updated | 46d ago | 931d ago | 320d ago |
| Age | 5y | 10y | 5y 9m |
Health Breakdown
temp-file
Maintenance
13
Quality
15
Community
12
Popularity
7
Documentation
10
mktemp
Maintenance
4
Quality
15
Community
11
Popularity
8
Documentation
11
testfile
Maintenance
6
Quality
15
Community
10
Popularity
5
Documentation
10
Technical Details
| temp-file | mktemp | testfile | |
|---|---|---|---|
| Version | 0.2.0 | 0.5.1 | 0.1.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | Apache-2.0 | MPL-2.0 | MIT |
| Dependencies | 1 | 1 | 2 |
| Crate Size | 7KB | 9KB | 6KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | — | 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 has not been updated in over a year.