use PathBuf;
use TempDir;
/// Allocate a fresh temp directory for use as a test workspace and
/// return both the `TempDir` (kept alive by the caller — drop it to
/// clean up) and its path as an owned `PathBuf` (handy for passing
/// straight into the tool constructors that take ownership).