Crates / tempfile / Alternatives
Rust crate alternatives · data Oct 24, 2026
Alternatives to tempfile
Short answerThe closest alternatives to tempfile on crates.io data are fs_extra (1.1M real downloads a day), camino (873K real downloads a day), mime_guess (857K real downloads a day). Of the 7 we list, the most used is fs_extra, and 3 shipped a release in the last year. tempfile itself gets 2,442,469 a day with 38,054 dependents.
Every alternative we found
| Alternative | Real downloads a day | vs tempfile | Dependents | Last release | Why it is listed | |
|---|---|---|---|---|---|---|
| fs_extra Established | 1,136,794 | 0.47x | 744 | 3.7y | keyword "filesystem" | side by side |
| camino Widely used | 872,911 | 0.36x | 1,078 | 39d | keyword "filesystem" | compare |
| mime_guess Widely used | 857,341 | 0.35x | 1,543 | 2.3y | keyword "filesystem" | side by side |
| xattr Established | 811,488 | 0.33x | 150 | 13mo | keyword "filesystem" | compare |
| notify Widely used | 515,449 | 0.21x | 3,197 | 7d | keyword "filesystem" | compare |
| notify-types Pulled in | 404,449 | 0.17x | 8 | 9mo | keyword "filesystem" | compare |
| remove_dir_all Pulled in | 122,193 | 0.05x | 84 | 23mo | keyword "filesystem" | compare |
How to choose
- Same job, not the same API. Each line is listed because it shares a crates.io category or keyword with tempfile; read its description before you swap.
- More dependents means more answered questions and a smaller chance it disappears.
- Check the last release against how fast you need fixes. For tempfile: is it still maintained?
Rules
Alternatives = tracked crates (top 1000 by downloads) that share a specific crates.io category (2 points each) or keyword (3 points each) with tempfile, most similar first; its own parts (same name prefix) and crates it depends on or that depend on it are left out, because those are companions, not substitutes. Real downloads = quiet-day median, crates.io data Oct 24, 2026. Built when we find 3 or more.
Up next
The closest alternative: Established and quiet for years. 1,136,794 real downloads a day.fs_extraRust crate. Expanding std::fs and std::io. Recursively copy folders with information about process and much more. Real use: 1.1M downloads a day on quiet days; 744...Read it next →Also worth your time