rustio rustio.net
69

tempfile

v3.27.0 Stable

A library for managing temporary files and directories.

MIT OR Apache-2.0 Edition 2021 MSRV 1.63
#filesystem#tempfile#tmpfile

Quick Verdict

  • โœ“Actively maintained (updated 76d ago)
  • โœ“Stable API (3.x for 11+ years)
  • โœ“Massive adoption (265.1K crates depend on it)
  • โœ“Permissive license (MIT OR Apache-2.0)

Security

Checking security advisories...
Downloads
586.7M
Dependents
265.1K
Releases
66
Size
45KB

Deep Insights

๐Ÿ“ˆ
Strong growth momentum

48.8M downloads in the last 30 days (1.6M/day), up 26% from the previous period.

๐Ÿ›๏ธ
Foundational crate

265.1K crates depend on tempfile โ€” it's part of the Rust ecosystem's core infrastructure. Removing it from your dependency tree would be extremely difficult.

โš ๏ธ
Single maintainer risk

tempfile has only 1 owner despite 265.1K dependents. This is a bus-factor concern โ€” consider the implications for long-term support.

โœ…
Stable for 11+ years

The API has been stable (1.x) for over 11 years with 66 releases. This level of maturity means you can depend on it without worrying about breaking changes.

๐Ÿ“
Compact crate

At 44KB, tempfile is lightweight. Small crate size correlates with focused, well-scoped functionality.

๐ŸŒŸ
Used by top crates

Notable dependents include cc, rustix, tokio, nix, tokio-util. When high-quality crates choose tempfile, it's a strong quality signal.

Health Breakdown

Maintenance 14/25

Recency, release consistency, active ratio

Quality 20/25

Yanked ratio, deps, size, maturity, features

Community 12/20

Reverse deps, ownership, ecosystem

Popularity 8/15

Downloads, momentum, growth trend

Documentation 15/15

Docs, repo, license, metadata

Download Trend

Daily downloads ยท last 90 days
1.4M/day avg+32%
0500K1.0M1.5M2.0M2/263/164/34/215/95/26

Top Dependents

Version Adoption

v3.23.0
28%
v3.20.0
25%
v3.27.0
23%
v3.24.0
13%
v3.19.1
11%

Release Timeline

10 releasessince 2025
J
F
M
A
M
J
J
A
S
O
N
D
2025
7
2026
3
Less
More

Feature Flags

default =["getrandom"]

nightly

README

Loading README...

Maintainers

Dependencies
6
direct dependencies
Dependents
265.1K
crates depend on tempfile

Similar Crates