Update deps; rustfmt
This commit is contained in:
@@ -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::*;
|
||||
|
@@ -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)]
|
||||
|
Reference in New Issue
Block a user