lighthouse-pulse/slasher
Arthur Woimbée 851a4dca3c replace tempdir by tempfile (#2143)
## Issue Addressed

Fixes #2141 
Remove [tempdir](https://docs.rs/tempdir/0.3.7/tempdir/) in favor of [tempfile](https://docs.rs/tempfile/3.1.0/tempfile/).

## Proposed Changes

`tempfile` has a slightly different api that makes creating temp folders with a name prefix a chore (`tempdir::TempDir::new("toto")` => `tempfile::Builder::new().prefix("toto").tempdir()`).

So I removed temp folder name prefix where I deemed it not useful.

Otherwise, the functionality is the same.
2021-01-06 06:36:11 +00:00
..
service Tidy slasher logs for known slashings (#2108) 2020-12-23 07:53:38 +00:00
src Fix slasher database schema migration to v2 (#2125) 2020-12-28 05:09:19 +00:00
tests replace tempdir by tempfile (#2143) 2021-01-06 06:36:11 +00:00
Cargo.toml replace tempdir by tempfile (#2143) 2021-01-06 06:36:11 +00:00