Tempdir injection for tests This small project is providing you a procedural macro to inject a temporary directory in your test. #[with_tempdir] #[test] fn my_test(path: &Path) { // do stuff in folder `path` }