Update deps; rustfmt

This commit is contained in:
2017-08-10 02:10:51 +02:00
parent 429e21a776
commit 352b08df6f
3 changed files with 137 additions and 94 deletions

View File

@@ -17,7 +17,7 @@ use std::path::Path;
use std::sync::Mutex;
use clap::{App, Arg};
use reqwest::{Client, ClientBuilder, Response, RedirectPolicy, RequestBuilder};
use reqwest::{Client, ClientBuilder, RedirectPolicy, RequestBuilder, Response};
use reqwest::header::{Cookie, SetCookie};
use catalog::*;

View File

@@ -1,16 +1,16 @@
use std::process::Command;
use std::fs::File;
use std::io::{self, Read, BufReader, Write};
use std::io::{self, BufReader, Read, Write};
use std::path::{Path, PathBuf};
use std::time::{Instant, Duration};
use std::time::{Duration, Instant};
use json::{self, JsonValue};
use reqwest::{Response, StatusCode};
use reqwest::header::Charset;
use reqwest::header::{ContentType, ContentDisposition, DispositionType, DispositionParam};
use reqwest::header::{ContentDisposition, ContentType, DispositionParam, DispositionType};
use zip::ZipArchive;
use {try_to_get_response, try_to_get_valid_response, construct_cookie, read_response_body};
use {construct_cookie, read_response_body, try_to_get_response, try_to_get_valid_response};
use DownloadError;
#[derive(Debug)]