Replace in-place compression

Compress gzip files to a temporary file first and then do an atomic
rename.
This commit is contained in:
KARASZI István
2021-01-07 16:50:13 +01:00
parent fa40c6e3d4
commit 956adfc90a
3 changed files with 12 additions and 2 deletions

View File

@ -51,6 +51,7 @@ tar = "0.4.30"
tempfile = "3.1.0"
tokio = { version = "0.2", features = ["macros"] }
ureq = { version = "2.0.0", features = ["tls"], default-features = false }
uuid = "0.8"
walkdir = "2.3.1"
whoami = "1.0.3"