Decision Workspace
mkstemp-rs vs mktemp-rs vs tempfile
Side-by-side comparison of Rust crates
45
mkstemp-rs
growingv1.0.0
Safe wrapper over mkstemp function from libc
39
mktemp-rs
growingv0.2.0
A thin wrapper around libc's mkstemps and mkdtemp
75
tempfile
stablev3.27.0
A library for managing temporary files and directories.
Core Metrics
| mkstemp-rs | mktemp-rs | tempfile | |
|---|---|---|---|
| Health Score | 45 | 39 | 75 |
| Total Downloads | 25.6K | 58.1K | 501.7M |
| 30d Downloads | 373 | 4.4K | 37.3M |
| Dependents | 9 | 12 | 197.6K |
| Releases | 3 | 2 | 66 |
| Last Updated | 3009d ago | 2652d ago | 17d ago |
| Age | 9y 2m | 7y 3m | 10y 11m |
Health Breakdown
mkstemp-rs
Maintenance
3
Quality
20
Community
6
Popularity
5
Documentation
11
mktemp-rs
Maintenance
3
Quality
15
Community
6
Popularity
6
Documentation
9
tempfile
Maintenance
18
Quality
20
Community
14
Popularity
8
Documentation
15
Technical Details
| mkstemp-rs | mktemp-rs | tempfile | |
|---|---|---|---|
| Version | 1.0.0 | 0.2.0 | 3.27.0 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✓ Yes |
| License | MIT | MIT OR Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 6 |
| Crate Size | 2KB | 9KB | 45KB |
| Features | 0 | 0 | 2 |
| Yanked % | 0.0% | 0.0% | 4.5% |
| Edition | — | 2018 | 2021 |
| MSRV | — | — | 1.63 |
| Owners | 1 | 1 | 2 |
Links
Quick Verdict
- •tempfile leads with a health score of 75/100, but none of the options score above 80.
- •tempfile is depended on by 197.6K crates — strongest ecosystem trust.
- •⚠ mkstemp-rs, mktemp-rs have not been updated in over a year.
- •mktemp-rs is pre-1.0 — API may change.