Simple library for cleaning up non-RIAA resources using RIAA.
A function that needs to clean up resources automatically can create an AutoCleanup object that will clean up those resources automatically.
use Path;
use AutoCleanup;
Be mindful of the Drop trait caveats; for instance calling
std::process::exit() will cause Drop traits not to run.
Because the cleanup occurs at Drop there's no error handling for failed cleanups -- errors will be silently ignored.