Decision Workspace
tmpfile vs cap-tempfile vs tempfile
Side-by-side comparison of Rust crates
48
tmpfile
growingv0.1.0
A temporary file writer with an option to persist.
66
cap-tempfile
stablev4.0.3
Capability-based temporary directories
65
tempfile
growingv3.27.0
A library for managing temporary files and directories.
Core Metrics
| tmpfile | cap-tempfile | tempfile | |
|---|---|---|---|
| Health Score | 48 | 66 | 65 |
| Total Downloads | 32.9K | 1.2M | 875.2M |
| 30d Downloads | 0 | 0 | 0 |
| Dependents | 5 | 350 | 491.3K |
| Releases | 4 | 92 | 66 |
| Last Updated | 217d ago | 50d ago | 213d ago |
| Age | 2y 8m | 6y 2m | 11y 6m |
Health Breakdown
tmpfile
Maintenance
8
Quality
15
Community
8
Popularity
5
Documentation
12
cap-tempfile
Maintenance
16
Quality
19
Community
14
Popularity
7
Documentation
10
tempfile
Maintenance
10
Quality
20
Community
12
Popularity
8
Documentation
15
Technical Details
| tmpfile | cap-tempfile | tempfile | |
|---|---|---|---|
| Version | 0.1.0 | 4.0.3 | 3.27.0 |
| Stable (≥1.0) | ✗ No | ✓ Yes | ✓ Yes |
| License | 0BSD | Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT | MIT OR Apache-2.0 |
| Dependencies | 4 | 8 | 6 |
| Crate Size | 10KB | 18KB | 45KB |
| Features | 1 | 3 | 2 |
| Yanked % | 0.0% | 2.2% | 4.5% |
| Edition | 2024 | 2021 | 2021 |
| MSRV | 1.87 | — | 1.63 |
| Owners | 2 | 2 | 1 |
Links
Quick Verdict
- •cap-tempfile leads with a health score of 66/100, but none of the options score above 80.
- •tempfile has the most downloads (875.2M), suggesting wider adoption.
- •tempfile is depended on by 491.3K crates — strongest ecosystem trust.
- •tmpfile is pre-1.0 — API may change.