rustio rustio.net

mkdtemp vs temp-dir vs tmpdir

Side-by-side comparison of Rust crates

Core Metrics

mkdtemptemp-dirtmpdir
Health Score376450
Total Downloads2.7K5.9M62.8K
30d Downloads5338.3K4.5K
Dependents02.2K79
Releases2181
Last Updated957d ago46d ago1127d ago
Age2y 7m5y3y 1m

Health Breakdown

mkdtemp
Maintenance
4
Quality
15
Community
4
Popularity
4
Documentation
10
temp-dir
Maintenance
15
Quality
16
Community
15
Popularity
8
Documentation
10
tmpdir
Maintenance
1
Quality
19
Community
11
Popularity
6
Documentation
13

Technical Details

mkdtemptemp-dirtmpdir
Version0.2.00.2.01.0.0
Stable (≥1.0)✗ No✗ No✓ Yes
LicenseMIT OR Apache-2.0Apache-2.0MIT
Dependencies105
Crate Size7KB6KB5KB
Features000
Yanked %0.0%0.0%0.0%
Edition202120212021
MSRV
Owners111

Quick Verdict

  • temp-dir leads with a health score of 64/100, but none of the options score above 80.
  • temp-dir is depended on by 2.2K crates — strongest ecosystem trust.
  • ⚠ mkdtemp, tmpdir have not been updated in over a year.
  • mkdtemp, temp-dir are pre-1.0 — API may change.