OUTDIR-TEMPDIR
A crate for cargo-test to create temporary directories.
The temporary directories are always created in the OUT_DIR
.
Usage
Add dependency to your Cargo.toml
.
[]
= "0.2"
Examples
Create a temporary directory with automatic removal.
use TempDir;
Create a temporary directory without automatic removal.
use TempDir;
Create a temporary directory using the specified path.
use TempDir;