Decision Workspace
mkstemp-rs vs mod-tempdir vs mktemp-rs
Side-by-side comparison of Rust crates
45
mkstemp-rs
growingv1.0.0
Safe wrapper over mkstemp function from libc
55
mod-tempdir
experimentalv1.0.1
Temporary directory and file management for Rust. Auto-cleanup on Drop, collision-resistant naming, orphan cleanup, cross-platform paths. Zero runtime deps by default; opt-in mod-rand feature for uniformly distributed naming. tempfile replacement at MSRV 1.75.
39
mktemp-rs
growingv0.2.0
A thin wrapper around libc's mkstemps and mkdtemp
Core Metrics
| mkstemp-rs | mod-tempdir | mktemp-rs | |
|---|---|---|---|
| Health Score | 45 | 55 | 39 |
| Total Downloads | 26.3K | 73 | 72.9K |
| 30d Downloads | 0 | 0 | 10.4K |
| Dependents | 9 | 0 | 15 |
| Releases | 3 | 5 | 2 |
| Last Updated | 3068d ago | 7d ago | 2711d ago |
| Age | 9y 4m | 12d | 7y 5m |
Health Breakdown
mkstemp-rs
Maintenance
3
Quality
20
Community
6
Popularity
5
Documentation
11
mod-tempdir
Maintenance
14
Quality
18
Community
6
Popularity
2
Documentation
15
mktemp-rs
Maintenance
3
Quality
15
Community
6
Popularity
6
Documentation
9
Technical Details
| mkstemp-rs | mod-tempdir | mktemp-rs | |
|---|---|---|---|
| Version | 1.0.0 | 1.0.1 | 0.2.0 |
| Stable (≥1.0) | ✓ Yes | ✓ Yes | ✗ No |
| License | MIT | Apache-2.0 | MIT OR Apache-2.0 |
| Dependencies | 1 | 1 | 1 |
| Crate Size | 2KB | 33KB | 9KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | — | 2021 | 2018 |
| MSRV | — | 1.75 | — |
| Owners | 1 | 1 | 1 |
Links
Quick Verdict
- •mod-tempdir leads with a health score of 55/100, but none of the options score above 80.
- •mktemp-rs has the most downloads (72.9K), suggesting wider adoption.
- •⚠ mkstemp-rs, mktemp-rs have not been updated in over a year.
- •mktemp-rs is pre-1.0 — API may change.