Crates / Compare / tempfile vs mime_guess
Rust crates side by side · data Oct 24, 2026
tempfile vs mime_guess
Short answerBy steady daily use, tempfile is bigger: 2,442,469 real downloads a day against 857,341 for mime_guess (2.8x). 38,054 crates depend on tempfile and 1,543 on mime_guess. tempfile last shipped 7 months ago, mime_guess 2.3 years ago.
tempfile
FoundationalFoundational and steady.
38,054 crates depend on it; no release in the last 90 days, so its count is all steady use.
A library for managing temporary files and directories.
mime_guess
Widely usedWidely used and gaining.
1,543 crates depend on it; no release in the last 90 days, so its count is all steady use.
A simple crate for detection of a file's MIME type by its extension.
tempfilemime_guess · 100% = that crate's normal quiet day, so a spike to 300% is triple its usual traffic
Every number, side by side
| Same window, same method | tempfile | mime_guess |
|---|---|---|
| Real downloads a day | 2,442,469 | 857,341 |
| Crates that depend on it | 38,054 | 1,543 |
| Last release | 3.27.0, 7 months ago | 2.0.5, 2.3 years ago |
| Trend vs the field | -2% | +11% |
| Release-window share | 0.0% | 0.0% |
| Downloads in the window | 221,938,413 | 80,273,826 |
| All-time downloads | 919,827,889 | 318,311,634 |
| Versions published | 66 | 33 |
| License | MIT OR Apache-2.0 | MIT |
| MSRV | 1.63 | not set |
| First published | Apr 14, 2015 | Jul 4, 2015 |
Which to pick
- Downloads tell you what is common, not what fits. Each crate's own description above says what it is for; when the jobs differ, pick by the job.
- When both fit, prefer the one more crates depend on (tempfile, 38,054 dependents): more eyes, more answered questions, and you may already have it in your tree.
- Check the release dates against your own pace: tempfile 7 months ago, mime_guess 2.3 years ago.
Also in this space
Method
Real downloads = the median day with no release that day or the day before, from the crates.io API (Jul 27, 2026 to Oct 23, 2026). Raw crates.io counts include CI and bots and run high (why); the method is from our 90-day study.
Up next
Another comparison: Same method, same window. Foundational and steady vs established and quiet for years.tempfile vs tempdirRead it next →Also worth your time