Decision Workspace
mkdtemp vs temp-dir vs dev-fixtures
Side-by-side comparison of Rust crates
37
mkdtemp
growingv0.2.0
A thin wrapper around libc's mkdtemp, UNIX only
58
temp-dir
growingv0.2.0
Simple temporary directory with cleanup
61
dev-fixtures
experimentalv0.9.5
Deterministic test fixtures for Rust: disposable project trees, golden-file snapshots, controlled mock data, file-tree builders. Part of the dev-* verification collection.
Core Metrics
| mkdtemp | temp-dir | dev-fixtures | |
|---|---|---|---|
| Health Score | 37 | 58 | 61 |
| Total Downloads | 2.8K | 9.5M | 257 |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 0 | 2.5K | 12 |
| Releases | 2 | 18 | 7 |
| Last Updated | 1153d ago | 242d ago | 1d ago |
| Age | 3y 1m | 5y 6m | 5m |
Health Breakdown
mkdtemp
Maintenance
4
Quality
15
Community
4
Popularity
4
Documentation
10
temp-dir
Maintenance
9
Quality
16
Community
15
Popularity
8
Documentation
10
dev-fixtures
Maintenance
19
Quality
15
Community
9
Popularity
3
Documentation
15
Technical Details
| mkdtemp | temp-dir | dev-fixtures | |
|---|---|---|---|
| Version | 0.2.0 | 0.2.0 | 0.9.5 |
| Stable (≥1.0) | ✗ No | ✗ No | ✗ No |
| License | MIT OR Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Dependencies | 1 | 0 | 2 |
| Crate Size | 7KB | 6KB | 42KB |
| Features | 0 | 0 | 1 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | 1.75 |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •dev-fixtures leads with a health score of 61/100, but none of the options score above 80.
- •temp-dir has the most downloads (9.5M), suggesting wider adoption.
- •temp-dir is depended on by 2.5K crates — strongest ecosystem trust.
- •⚠ mkdtemp has not been updated in over a year.