Please branch and build rust-tempdir in epel10.
As mentioned on Matrix, I'd rather not import this package into epel10. It's been officially deprecated / unmaintained since 2018: https://rustsec.org/advisories/RUSTSEC-2018-0017.html