pub fn remove_dir_all<P: AsRef<Path>>(path: P) -> Result<(), io::Error> {
    let parallelism =
        thread::available_parallelism().unwrap_or(unsafe { NonZeroUsize::new_unchecked(1) });
    let runtime = tokio::runtime::Builder::new_current_thread()
        .max_blocking_threads(parallelism.get())
        .build()?;

    runtime.block_on(fast_remove_dir_all(path.as_ref()))
}
Implementation of the OG post that started all this:
<https://github.com/tokio-rs/tokio/issues/4172#issuecomment-945052350>
comparisons/rm_og_crappy/src/lib.rs