Drops dependency on remove_dir_all which has a TOCTOU vulnerability in 0.5.0 (in the mindeps build).
remove_dir_all
mindeps
Avoids: https://rustsec.org/advisories/RUSTSEC-2023-0018