Decision Workspace
txtar vs test-temp-dir vs tempdir
Side-by-side comparison of Rust crates
49
txtar
growingv1.0.0
A Rust implementation of the txtar Go package
69
test-temp-dir
growingv0.7.0
Temporary directories for use in tests
56
tempdir
growingv0.3.7
A library for managing a temporary directory and deleting all contents when it's dropped.
Core Metrics
| txtar | test-temp-dir | tempdir | |
|---|---|---|---|
| Health Score | 49 | 69 | 56 |
| Total Downloads | 9.2K | 44.7K | 37.1M |
| 30d Downloads | 66 | 1.8K | 916.2K |
| Dependents | 6 | 154 | 14.4K |
| Releases | 5 | 16 | 11 |
| Last Updated | 1394d ago | 24d ago | 2928d ago |
| Age | 3y 10m | 2y 2m | 11y 1m |
Health Breakdown
txtar
Maintenance
4
Quality
19
Community
8
Popularity
5
Documentation
13
test-temp-dir
Maintenance
20
Quality
16
Community
15
Popularity
6
Documentation
12
tempdir
Maintenance
3
Quality
15
Community
19
Popularity
8
Documentation
11
Technical Details
| txtar | test-temp-dir | tempdir | |
|---|---|---|---|
| Version | 1.0.0 | 0.7.0 | 0.3.7 |
| Stable (≥1.0) | ✓ Yes | ✗ No | ✗ No |
| License | MIT/Apache-2.0 | MIT OR Apache-2.0 | MIT/Apache-2.0 |
| Dependencies | 5 | 4 | 2 |
| Crate Size | 9KB | 10KB | 11KB |
| Features | 0 | 2 | 0 |
| Yanked % | 0.0% | 0.0% | 0.0% |
| Edition | 2021 | 2024 | — |
| MSRV | — | 1.89 | — |
| Owners | 1 | 4 | 3 (team) |
Links
Quick Verdict
- •test-temp-dir leads with a health score of 69/100, but none of the options score above 80.
- •tempdir has the most downloads (37.1M), suggesting wider adoption.
- •tempdir is depended on by 14.4K crates — strongest ecosystem trust.
- •⚠ txtar, tempdir have not been updated in over a year.
- •test-temp-dir, tempdir are pre-1.0 — API may change.