Temporary
The package helps to create temporary files and directories.
Documentation
Example
use File;
use Write;
use Directory;
// Create a temporary directory.
let root = new.unwrap;
// Do some work.
let mut file = create.unwrap;
file.write_all.unwrap;
// The directory and its content get removed automatically.
Acknowledgments
The package was originally based on std::io::TempDir
by Rust’s developers,
which was later moved to a separate crate,
tempdir.
Contribution
- Fork the project.
- Implement your idea.
- Open a pull request.