From: Dominik Csapak <d.csapak@proxmox.com>
To: pbs-devel@lists.proxmox.com
Subject: [pbs-devel] [PATCH proxmox-backup v2 2/2] tools/zip: run rustfmt
Date: Tue, 16 Mar 2021 13:37:27 +0100 [thread overview]
Message-ID: <20210316123727.4568-2-d.csapak@proxmox.com> (raw)
In-Reply-To: <20210316123727.4568-1-d.csapak@proxmox.com>
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
---
new in v2
src/tools/zip.rs | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tools/zip.rs b/src/tools/zip.rs
index d7a09d1c..403b752f 100644
--- a/src/tools/zip.rs
+++ b/src/tools/zip.rs
@@ -13,12 +13,12 @@ use std::path::{Component, Path, PathBuf};
use anyhow::{bail, Error, Result};
use endian_trait::Endian;
-use tokio::io::{AsyncRead, AsyncWrite, AsyncWriteExt};
use flate2::{Compress, Compression, FlushCompress};
+use tokio::io::{AsyncRead, AsyncWrite, AsyncWriteExt};
use crc32fast::Hasher;
-use proxmox::tools::time::gmtime;
use proxmox::tools::byte_buffer::ByteBuffer;
+use proxmox::tools::time::gmtime;
const LOCAL_FH_SIG: u32 = 0x04034B50;
const LOCAL_FF_SIG: u32 = 0x08074B50;
--
2.20.1
prev parent reply other threads:[~2021-03-16 12:37 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-16 12:37 [pbs-devel] [PATCH proxmox-backup v2 1/2] tools/zip: compress zips with deflate Dominik Csapak
2021-03-16 12:37 ` Dominik Csapak [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210316123727.4568-2-d.csapak@proxmox.com \
--to=d.csapak@proxmox.com \
--cc=pbs-devel@lists.proxmox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox