Registry / testing / temp-testdir

temp-testdir

JSON →
library0.2.3rscratesunverified

Create temporary directories for testing, with optional persistence for debugging.

# Cargo.toml [dependencies] temp_testdir = "0.2.3"
INSTALL
IMPORT
SIG · TEMP-TESTDIR
T
temp-testdir
testingrustv0.2.3
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

TempDir
use temp_testdir::TempDir;

Create a temporary directory for testing.

use temp_testdir::TempDir; let dir = TempDir::new().unwrap(); // Use dir.path() for temporary storage // Directory is deleted when `dir` goes out of scope
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.3latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
temp-testdir — cargo add temp-testdir · libregistry