Update Cargo.lock, apply changes for ffsend-api send2 branch

This commit is contained in:
timvisee 2019-02-18 14:06:53 +01:00
parent dd8a7fe645
commit 802c96df3f
No known key found for this signature in database
GPG key ID: B8DB720BC383E172
4 changed files with 273 additions and 252 deletions

517
Cargo.lock generated

File diff suppressed because it is too large Load diff

View file

@ -11,7 +11,7 @@ use ffsend_api::action::download::{Download as ApiDownload, Error as DownloadErr
use ffsend_api::action::exists::{Error as ExistsError, Exists as ApiExists};
use ffsend_api::action::metadata::{Error as MetadataError, Metadata as ApiMetadata};
use ffsend_api::file::remote_file::{FileParseError, RemoteFile};
use ffsend_api::reader::ProgressReporter;
use ffsend_api::pipe::ProgressReporter;
#[cfg(feature = "archive")]
use tempfile::{Builder as TempBuilder, NamedTempFile};
@ -143,7 +143,7 @@ impl<'a> Download<'a> {
// Execute an download action
let progress = if !matcher_main.quiet() {
Some(&progress_reader)
Some(progress_reader)
} else {
None
};

View file

@ -9,7 +9,7 @@ use failure::Fail;
use ffsend_api::action::params::ParamsDataBuilder;
use ffsend_api::action::upload::{Error as UploadError, Upload as ApiUpload};
use ffsend_api::config::{UPLOAD_SIZE_MAX, UPLOAD_SIZE_MAX_RECOMMENDED};
use ffsend_api::reader::ProgressReporter;
use ffsend_api::pipe::ProgressReporter;
use prettytable::{format::FormatBuilder, Cell, Row, Table};
#[cfg(feature = "archive")]
use tempfile::{Builder as TempBuilder, NamedTempFile};

View file

@ -4,7 +4,7 @@ use std::io::{stderr, Stderr};
use std::time::Duration;
use self::pbr::{ProgressBar as Pbr, Units};
use ffsend_api::reader::ProgressReporter;
use ffsend_api::pipe::ProgressReporter;
/// The refresh rate of the progress bar, in milliseconds.
const PROGRESS_BAR_FPS_MILLIS: u64 = 200;