update use

This commit is contained in:
2020-04-12 01:19:44 +08:00
parent f1ede0bca7
commit b7c747c565
5 changed files with 24 additions and 57 deletions

View File

@@ -10,10 +10,7 @@ use std::{
BufWriter,
},
};
use rust_util::{
XResult,
new_box_error,
};
use rust_util::{ XResult, new_box_error, };
use openpgp::{
types::KeyFlags,
TPK,
@@ -25,10 +22,7 @@ use openpgp::{
LiteralWriter,
},
};
use indicatif::{
ProgressBar,
ProgressStyle
};
use indicatif::{ ProgressBar, ProgressStyle, };
const BUFF_SIZE: usize = 512 * 1024;
const PB_PROGRESS: &str = "#-";