Decision Workspace
tmpdir vs temp-dir vs tmp-path
Side-by-side comparison of Rust crates
50
tmpdir
growingv1.0.0
Useful to create temp directories and copy their contents on completion of some action. Tmp dirs will be created using [`env::temp_dir`] with some random characters prefixed to prevent a name clash
64
temp-dir
growingv0.2.0
Simple temporary directory with cleanup
50
tmp-path
growingv0.1.2
Test helper to create a temporary directory
Core Metrics
| tmpdir | temp-dir | tmp-path | |
|---|---|---|---|
| Health Score | 50 | 64 | 50 |
| Total Downloads | 62.8K | 5.9M | 20.3K |
| 30d Downloads | 4.2K | 328.4K | 409 |
| Dependents | 79 | 2.2K | 62 |
| Releases | 1 | 18 | 3 |
| Last Updated | 1127d ago | 46d ago | 317d ago |
| Age | 3y 1m | 5y | 1y 2m |
Health Breakdown
tmpdir
Maintenance
1
Quality
19
Community
11
Popularity
6
Documentation
13
temp-dir
Maintenance
15
Quality
16
Community
15
Popularity
8
Documentation
10
tmp-path
Maintenance
7
Quality
15
Community
10
Popularity
5
Documentation
13
Technical Details
| tmpdir | temp-dir | tmp-path | |
|---|---|---|---|
| Version | 1.0.0 | 0.2.0 | 0.1.2 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT | Apache-2.0 | MIT |
| Dependencies | 5 | 0 | 3 |
| Crate Size | 5KB | 6KB | 5KB |
| Features | 0 | 0 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2021 | 2021 |
| MSRV | — | — | — |
| Owners | 1 | 1 | 1 |
Links
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.
- •⚠ tmpdir has not been updated in over a year.
- •temp-dir, tmp-path are pre-1.0 — API may change.